![]() |
Help! Errors coming up! http://www.liddysloft.com/photopost/index.php I've had Photopost installed and working great for over a month now. I haven't changed ANYTHING and today I go in and get these errors: "Warning: chdir(): No such file or directory (errno 2) in /home/liddyslo/public_html/photopost/header-inc.php on line 64 Warning: main(./global.php): failed to open stream: No such file or directory in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Warning: main(./global.php): failed to open stream: No such file or directory in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Warning: main(./global.php): failed to open stream: No such file or directory in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/liddyslo/public_html/photopost/header-inc.php on line 65" Can someone help?! Thanks in advance! |
Looks to me like your forums server path was changed? did you move it? You can edit config-int.php and for the $vbpath variable set the proper forums path there |
I have since moved the server path and updated and reupdated the information in config-int.php and config-inc.php. I'm still getting the same errors: Warning: chdir(): No such file or directory (errno 2) in /home/liddyslo/public_html/photopost/header-inc.php on line 64 Warning: main(./global.php): failed to open stream: No such file or directory in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Warning: main(./global.php): failed to open stream: No such file or directory in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Warning: main(./global.php): failed to open stream: No such file or directory in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/liddyslo/public_html/photopost/header-inc.php on line 65 Here's my config-int.php info: <?php //-----------------------------------------------------------------------------------// // Forum Integration Configuration File // // For users using our forum integration files, there are a few things // we need to know - like the location of PhotoPost and your forums; this // prevents us from doing alot of extra processing in these scripts we otherwise // would have to do. // // Follow the guides to set your paths and enable the integration options you // want. //-----------------------------------------------------------------------------------// // We need to know the server paths to both your vB installation and your PhotoPost installation $vbpath = "/home/liddysloft/public_html/forums"; $pppath = "/home/liddysloft/public_html/photopost"; // We need the URL path to your PhotoPost and vb installation $url_path = "/photopost"; $vb_urlpath = "/forums"; // The URL of your photo dir where your images are stored (with / at end) $data_dir = "/photopost/data/"; // If your PhotoPost tables have a prefix, put it here // Example: // $pp_db_prefix = "pp_"; $pp_db_prefix = "pp_"; // If you use the mobile phone integration, set this variable to the CatID for the gallery define( "MOBILE_CAT", -1 ); //------------------------------------- vB3 -----------------------------------------// // VB3_INTEGRATION is for using vB3 headers/footers and styles // VB3_ENHANCEDINT is for Enhanced vB3 Integration (using vB3 elements in PhotoPost) // requires that VB3_INTEGRATION also be set to 'on' // VB3_COMMWYSIWYG is for turning on the WYSIWYG interface on the Post A Comment page // if you set this to 'off' then only the standard input box will appear // // Set to 'on' to enable specific integrations define("VB3_INTEGRATION", 'on'); define("VB3_ENHANCEDINT", 'off'); define("VB3_COMMWYSIWYG", 'off'); //-----------------------------------------------------------------------------------// //------------------------------------- vB2 -----------------------------------------// // VB2_INTEGRATION is if you are using vB2 and want to use the vB2 integration define("VB2_INTEGRATION", 'off'); //-----------------------------------------------------------------------------------// //---------------------------------- vB2 Portal -------------------------------------// // To use set path and set flag to 'on' define("VBP2_INTEGRATION", 'off'); $vbportal="/home/sites/yoursite/web/vbportal"; //-----------------------------------------------------------------------------------// ?> What am I doing wrong? Thanks! |
$vbpath="/home/liddyslo/public_html/forums"; You have indeed verified the path is this for the forums? This is where the forum is and global.php exists there |
|
Your paths are wrong in the program in both config-inc.php and config-int.php You need to do three head turns to see it ;) which is why I posted your right path before so lets expand so you see what I mean You have everthing set to like this /home/liddysloft Your path is /home/liddyslo |
That worked! Now I have these errors: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/liddyslo/public_html/photopost/forums/phpbb2.php on line 29 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/liddyslo/public_html/photopost/forums/phpbb2.php on line 53 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/liddyslo/public_html/photopost/forums/phpbb2.php on line 66 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/liddyslo/public_html/photopost/forums/phpbb2.php on line 72 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/liddyslo/public_html/photopost/forums/phpbb2.php on line 329 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/liddyslo/public_html/photopost/forums/phpbb2.php on line 334 It looks like it's trying to associate it with phpbb2 instead of the vB3 that I have now. (I had phpbb2 a few months ago, but have been using the vB integration just fine.) Do you know where I can change this info? Do I need to run through install again? |
Did your host like revert your site to an old version? Basically you need to check your config-inc.php file make sure the vb3 database info is in there. Use phpmyadmin and change the settings in the photopost settings table entry 41 to vb3 and entry 83 to the proper mysql table prefix in vbulletin |
Different site, similar errors. When I go to the Integration Panel in Photopost and set to "on" for vB3 integration I get this error: Warning: main(./includes/functions_showthread.php): failed to open stream: No such file or directory in /home/.fedor/digidream/thedigidreamer.com/gallery/header-inc.php on line 82 Fatal error: main(): Failed opening required './includes/functions_showthread.php' (include_path='.:/usr/local/lib/php') in /home/.fedor/digidream/thedigidreamer.com/gallery/header-inc.php on line 82 I turn it "off" and they go away--that is how I've left it since the board is still live. This is for a site that had pbpbb forums and Photopost. I did a fresh install and integration of the phpbb and vBulletin and that worked fine. Now I'm trying to integrate the vBulletin and existing Photopost. I'm sure there are detailed instructions on what is need to do this but I haven't had much luck finding them. Any suggestions on integration and the error? THANK YOU!! |
I dont see any errors on your site and you have the use integration set to ON Did you solve your issues? |
In the control panel, it is still set to OFF because when I change it to ON, I get the above error. I turn it off so user can still use the gallery. If for some reason it is ON, do you know why the colors/format are not like the vBulletin ones I set up? |
It is definately set to on your running the vb header navbar and style colors of the forum clearly to me. Everything looks fine. http://www.liddysloft.com/photopost/index.php |
Sorry, I should have been more specific Liddy's Loft is my test site. The site I'm trying to integrate right now and getting the errors is the digi*dreamer forums gallery |
You need to delete lillysloft as thats an illegal install. A test site can not be public and this entire thread has been about your test install up to now it would seem. Digidreamer is integrating with phpbb which means if you want to use the forum style all you need to do is under forum settings in admin set use forum style to yes |
Long story short, I am merging with another site and we both have Photopost licenses for our two sites. :) Okay, I went under forum setting and changed it. Now I cannot login to even get back to the Admin panel. I ran the userfix.php. and still no luck. And I'm getting these errors: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.fedor/digidream/thedigidreamer.com/gallery/forums/phpbb2.php on line 29 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/.fedor/digidream/thedigidreamer.com/gallery/forums/phpbb2.php on line 53 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.fedor/digidream/thedigidreamer.com/gallery/forums/phpbb2.php on line 66 HELP! |
I also have that happening and in order to get back into the control panel I had to shut the VB3 integration off in the config-int.php. I'm going to snoop around. I'm sure it's something I've configured wrong because after 2 days I just got it installed and I found all the answers to my mistakes on this forum. |
Looks like this may be the answer. http://www.photopost.com/forum/showt...egration+Error |
I've checked and rechecked the info in config-int.php. Keep getting these errors: Warning: main(./includes/functions_showthread.php): failed to open stream: No such file or directory in /home/.fedor/digidream/thedigidreamer.com/gallery/header-inc.php on line 82 Fatal error: main(): Failed opening required './includes/functions_showthread.php' (include_path='.:/usr/local/lib/php') in /home/.fedor/digidream/thedigidreamer.com/gallery/header-inc.php on line 82 |
We just figured out she's got version 5.0--guess I should try to upgrade it and then come back. |
Yeah only 5.21 and above is compatible with vb 3.5-3.6 |
| All times are GMT -5. The time now is 07:31 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0