Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Importing Commission Junction Ads, CJ Ads
HarryPotter
post Nov 3 2009, 05:28 PM
Post #16


Member
**

Group: Members
Posts: 14
Joined: 30-October 09
Member No.: 64,471



QUOTE (stuartma @ Oct 12 2009, 09:09 AM) *
The latest version of OpenXBridge is now online at
http://www.stuartanderson.eu.com/download/...idge/latest.zip

As requested Version 1.9.9.9 now supports running from the web browser as well as the command line

Enjoy, and please keep the feedback comming
I dont know what to fix if you dont tell me what wrong

Stu


thanks for your hardwork!!!

i am new here but i guess there is an advantage to starting late in the game... i get a good working version right off the bet!
Go to the top of the page
 
+Quote Post
HarryPotter
post Nov 3 2009, 06:09 PM
Post #17


Member
**

Group: Members
Posts: 14
Joined: 30-October 09
Member No.: 64,471



uh oh, i got this after i entered my database information:

Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /home/user/public_html/openxbridge/modules/installer/index.php on line 245

Fatal error: require_once() [function.require]: Failed opening required 'MDB2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/openxbridge/modules/installer/index.php on line 245

any ideas?
Go to the top of the page
 
+Quote Post
HarryPotter
post Nov 3 2009, 06:38 PM
Post #18


Member
**

Group: Members
Posts: 14
Joined: 30-October 09
Member No.: 64,471



i am trying to make a config.inc.php file, and these are the fields i am unsure about:

bolded is what i think should be in the fields. please confirm =D

$openx_host = ''; // Webdomain for your OpenX Installation > http://www.domain.com
$openx_publishingsite = ''; // Default publishing site name > i don't know where to find this
$openx_www_path = '/openx/www'; // URL path to OpenX (http://www.MyDomain.com/OpenX/=> /OpenX/www) > /CustomOpenxFolder/www

$openx_username = ''; // OpenX UserName
$openx_password = ''; // OpenX Password > is it safe to put here? will others be able to read this file? should we set the permission for this file to something special?
$openx_file = ''; // Full path to your OpenX installation > http://www.domain.com/CustomOpenxFolder
$openx_agencyName = 'Default manager'; // Agency Name to work as, usually Default manager


sorry for these silly questions - pretty new to all this. thank you!!!
Go to the top of the page
 
+Quote Post
stuartma
post Nov 5 2009, 07:56 PM
Post #19


Advanced Member
***

Group: Members
Posts: 35
Joined: 23-December 05
From: Dundee, Scotland
Member No.: 9,068



Good evening HarryPotter,

I can ask some simpleish , questions about your current setup? Do you know if your web server is running Unix/Linux or Windows? My second question is did you have a go at using the automated install section before editing the config file manualy?

Stu
Go to the top of the page
 
+Quote Post
HarryPotter
post Nov 6 2009, 01:43 AM
Post #20


Member
**

Group: Members
Posts: 14
Joined: 30-October 09
Member No.: 64,471



Hi Stuart,

Thanks for the reply. Here is what I know...

- OS: Linux - CentOS 4
- i did both:

first time i got to the bridge installtion page, i see this:
QUOTE
There doesn't seem to be a config/config.inc.php file. I need this before we can get started. You can create a config/config.inc.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file from the template file config/config.dist.inc.php.

Create a Configuration File


so i clicked creat a configuration file and it took to to the rest of the automatic install. then i go this after i entered my database information in step 2 or 3:

QUOTE
Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /home/user/public_html/openxbridge/modules/installer/index.php on line 245

Fatal error: require_once() [function.require]: Failed opening required 'MDB2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/openxbridge/modules/installer/index.php on line 245


so, because that didn't work... i tried to edit the config file after. which is why i had those questions in the previous post.

thanks for helping =D
Go to the top of the page
 
+Quote Post
stuartma
post Nov 7 2009, 02:57 PM
Post #21


Advanced Member
***

Group: Members
Posts: 35
Joined: 23-December 05
From: Dundee, Scotland
Member No.: 9,068



QUOTE (HarryPotter @ Nov 6 2009, 01:43 AM) *
Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /home/user/public_html/openxbridge/modules/installer/index.php on line 245


Good morning HarryPotter,

It looks like your biggest problem is you do you not have the MDB2 library installed on your machine.
It is part of the PEAR PHP library and is used for MySQL database access. With out it Bridge will not function.

I am working on improving the Bridge error messages just now, but what you can do is install MDB2 using the pear command line tool and then you should be able to rerun the automated installer with out any problems.

Stu
Go to the top of the page
 
+Quote Post
stuartma
post Nov 8 2009, 09:17 AM
Post #22


Advanced Member
***

Group: Members
Posts: 35
Joined: 23-December 05
From: Dundee, Scotland
Member No.: 9,068



HarryPotter I think I might have a quick fix for you.

Open the file /home/user/public_html/openxbridge/modules/installer/index.php and replace line 245 with /usr/share/php/MDB2.php

So, the you should go from
CODE

private function testDatabaseConnection($configArray) {
require_once 'MDB2.php';
$dsn = array(


...to...

CODE

private function testDatabaseConnection($configArray) {
require_once '/usr/share/php/MDB2.php';
$dsn = array(


If I am right you already have MDB2 installed properlybut it is just not being included. This might fix it.
If it doesnt fix the problem thought let me know and I will give you a better fix!

Stu
Go to the top of the page
 
+Quote Post
HarryPotter
post Nov 8 2009, 10:30 PM
Post #23


Member
**

Group: Members
Posts: 14
Joined: 30-October 09
Member No.: 64,471



QUOTE (stuartma @ Nov 7 2009, 03:57 PM) *
QUOTE (HarryPotter @ Nov 6 2009, 01:43 AM) *
Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /home/user/public_html/openxbridge/modules/installer/index.php on line 245


Good morning HarryPotter,

It looks like your biggest problem is you do you not have the MDB2 library installed on your machine.
It is part of the PEAR PHP library and is used for MySQL database access. With out it Bridge will not function.

I am working on improving the Bridge error messages just now, but what you can do is install MDB2 using the pear command line tool and then you should be able to rerun the automated installer with out any problems.

Stu


turns out, i didn't have MDB2 library installed. i got my web host to install it and the automated installer is not working like a charm.

however, i got to step 5, and it states: "Sorry, Ive looked at your version of OpenX and I can only support version 2.8.1 ". guess i have 2.8.2 installed. should i downgrade (if that is possible), or just wait for the new release that wil support 2.8.2?

also, in step 3, what is "Full path to your OpenX installation"? is it http://www.domain.com/public_html/openx or just http://www.domain.com/openx
Go to the top of the page
 
+Quote Post
stuartma
post Nov 9 2009, 01:49 PM
Post #24


Advanced Member
***

Group: Members
Posts: 35
Joined: 23-December 05
From: Dundee, Scotland
Member No.: 9,068



Now see Harry that just show my lack of free time. I'm upgrading my own OpenX to 2.8.2 so as soon as thats uploaded ill test Bridge and make sure nothing is broken then give you a new download with full support for 2.8.2.

I've taken the afternoon off work so ill have that done really soon. Once I've updated Bridge I'll talk you though the install steps including step 3
Go to the top of the page
 
+Quote Post
HarryPotter
post Nov 10 2009, 03:04 AM
Post #25


Member
**

Group: Members
Posts: 14
Joined: 30-October 09
Member No.: 64,471



QUOTE (stuartma @ Nov 9 2009, 02:49 PM) *
Now see Harry that just show my lack of free time. I'm upgrading my own OpenX to 2.8.2 so as soon as thats uploaded ill test Bridge and make sure nothing is broken then give you a new download with full support for 2.8.2.

I've taken the afternoon off work so ill have that done really soon. Once I've updated Bridge I'll talk you though the install steps including step 3


THANK YOU!
Go to the top of the page
 
+Quote Post
timeismoney
post Nov 10 2009, 12:46 PM
Post #26


Member
**

Group: Members
Posts: 11
Joined: 26-January 08
Member No.: 19,922



QUOTE (stuartma @ Nov 8 2009, 10:17 AM) *
HarryPotter I think I might have a quick fix for you.

Open the file /home/user/public_html/openxbridge/modules/installer/index.php and replace line 245 with /usr/share/php/MDB2.php

So, the you should go from
CODE

private function testDatabaseConnection($configArray) {
require_once 'MDB2.php';
$dsn = array(


...to...

CODE

private function testDatabaseConnection($configArray) {
require_once '/usr/share/php/MDB2.php';
$dsn = array(


If I am right you already have MDB2 installed properlybut it is just not being included. This might fix it.
If it doesnt fix the problem thought let me know and I will give you a better fix!

Stu

Hello Stuart,
I am trying to install the lovely plugin But I am having problem.
I am using OpenX v2.8.1 running on Apache, PHP 5.2.9 and MySQL 5.0.67 My site is hosted on DreamHost and I have my OpenX Installation set up on a Sub-Domain (http://ads.sponsorboxx.com)
I am getting the following error when trying to run the install wizard.

Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /home/sponsorb/ads/OpenXBridge/modules/installer/index.php on line 245

Fatal error: require_once() [function.require]: Failed opening required 'MDB2.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/sponsorb/ads/OpenXBridge/modules/installer/index.php on line 245

I also tried to manually configure the config.dist.inc.php. file with the following info.


$database = "mysql";
$database_db = "mydatabasename";
$database_username = "myusername";
$database_password = "mypassword";
$database_hostname = "mysql.sponsorboxx.com";
$database_table_prefix = "oxb_"; // This Can be left empty
$ox_database_table_prefix = "ox_"; // This Can be left empty

$language = "en";

$openx_host = 'ads.sponsorboxx.com'; // Webdomain for your OpenX Installation (I am unsure what goes here)
$openx_publishingsite = 'thestreetsonline.com'; // Default publishing site name
$openx_www_path = '/ads/www'; // URL path to OpenX (http://www.MyDomain.com/OpenX/www => /OpenX/www) (I am unsure what goes here)

$openx_username = 'myusername'; // OpenX UserName
$openx_password = 'mypassword'; // OpenX Password
$openx_file = 'http://ads.sponsorboxx.com'; // Full path to your OpenX installation
$openx_agencyName = 'Default manager'; // Agency Name to work as, usually Default manager

I placed this config.dist.inc.php into the config folder and The installer did not recognize the files being present in the config folder and I still received the following message:

There doesn't seem to be a config/config.inc.php file. I need this before we can get started. You can create a config/config.inc.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file from the template file config/config.dist.inc.php.

Can you please help me resolve my issues.
Thank you very much.
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

 

Locations of visitors to this page