- OpenX Community Forums
![]() ![]() |
Nov 3 2009, 05:28 PM
Post
#16
|
|
|
Member ![]() ![]() Group: Members Posts: 14 Joined: 30-October 09 Member No.: 64,471 |
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! |
|
|
|
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? |
|
|
|
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!!! |
|
|
|
Nov 5 2009, 07:56 PM
Post
#19
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 39 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 |
|
|
|
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 |
|
|
|
Nov 7 2009, 02:57 PM
Post
#21
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 39 Joined: 23-December 05 From: Dundee, Scotland Member No.: 9,068 |
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 |
|
|
|
Nov 8 2009, 09:17 AM
Post
#22
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 39 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 |
|
|
|
Nov 8 2009, 10:30 PM
Post
#23
|
|
|
Member ![]() ![]() Group: Members Posts: 14 Joined: 30-October 09 Member No.: 64,471 |
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 |
|
|
|
Nov 9 2009, 01:49 PM
Post
#24
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 39 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 |
|
|
|
Nov 10 2009, 03:04 AM
Post
#25
|
|
|
Member ![]() ![]() Group: Members Posts: 14 Joined: 30-October 09 Member No.: 64,471 |
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! |
|
|
|
Nov 10 2009, 12:46 PM
Post
#26
|
|
|
Member ![]() ![]() Group: Members Posts: 21 Joined: 26-January 08 From: Hollywood Ca. Member No.: 19,922 |
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. |
|
|
|
Jan 19 2010, 04:31 PM
Post
#27
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 39 Joined: 23-December 05 From: Dundee, Scotland Member No.: 9,068 |
Please let me apologise for my absence these last few months. I have just posted an update about OpenXBridge to the OpenX forums, which I hope will go part of the way to explaining why this had to be and what has come out of it for the future of OpenXBridge.
Please read my Open Letter To The Openx Community Regarding Openxbridge and let me know you thoughts Yours Gratefully, Stuart McCulloch Anderson |
|
|
|
Feb 13 2013, 11:14 AM
Post
#28
|
|
|
Beginner ![]() Group: Members Posts: 7 Joined: 13-February 13 From: NE USA Member No.: 200,132 |
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 Anybody knowwhat is up with this option? I tried the download link and got a 404 page. |
|
|
|
Feb 17 2013, 06:17 PM
Post
#29
|
|
|
Beginner ![]() Group: Members Posts: 7 Joined: 13-February 13 From: NE USA Member No.: 200,132 |
Enjoy, and please keep the feedback comming I dont know what to fix if you dont tell me what wrong If you're talking to to me, the download link leads to nowhere; 404 page. If there is no live link to a finished, working copy, where people can get it, then perhaps the links should be disabled and the discussion marked dead. Being old doesn't always make something like this dead, but I'm guessing this one actually is dead. Too bad. This would be a nice feature to 2.8.9. |
|
|
|
![]() ![]() |