 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
September 6th, 2005, 08:28 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
| Issues after moving to new server...
Just moved to a new server - most everything working again except for Photopost and PP-Classifieds.
When accessing the PP-Classifieds index page - I'm getting: Quote:
Warning: chdir(): No such file or directory (errno 2) in /home/aquarium/public_html/pp-classifieds/header-inc.php on line 232
Warning: main(mainfile.php): failed to open stream: No such file or directory in /home/aquarium/public_html/pp-classifieds/header-inc.php on line 233
Fatal error: main(): Failed opening required 'mainfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/pp-classifieds/header-inc.php on line 233
|
Can you guys give me a hint as to where to start to correct this? I'll post about my Photopost issues in the Photopost forum. Quote:
# Tell us what server operating system you are running. Windows? Flavor of Linux? What version is it? Service packs or other updates applied? Linux
# Tell us what version of PHP and MySQL you are running. PHP Version 4.3.11 / MySQL version 4.0.25
# Tell us whether the server in question is a dedicated host or if it is a shared host. Dedicated
# Tell us if the server is under your control or if you are leasing/renting/borrowing hosting space from someone else. leasing - but have full control/root
# Give us a URL that links us straight to your PhotoPost installation. If it is a private installation that limits access to unregistered guests, give us a dummy account to use that actually has access to the photos. http://www.aquariumpros.ca/pp-classifieds/index.php |
TIA,
Last edited by aquariumpros; September 6th, 2005 at 08:42 PM.
|
| |
September 6th, 2005, 08:48 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,674
|
/home/aquarium/public_html
That says it all
In your global options change your data and upload paths to reflect the new base server path
You have /var/www/html when now it is what I posted above
|
| |
September 6th, 2005, 08:50 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Hey Chuck...how's it goin?
How do I change this - when I can't access the admin panel?
|
| |
September 6th, 2005, 08:55 PM
|
#4 (permalink)
| | Registered User
Join Date: Jun 2005
Posts: 66
|
i think u can manually edit the config files that u have uploaded to set the new paths.
Possibly config.inc or config.int, i could be wrong but worth checking!
|
| |
September 6th, 2005, 08:56 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
I've already manually edited the config files - what else do I need to edit?
Thanks sooo much
|
| |
September 6th, 2005, 09:00 PM
|
#6 (permalink)
| | Registered User
Join Date: Jun 2005
Posts: 66
|
I must be mistaken then as i can see no change in the page message. sorry have to see what the big cheese says!
|
| |
September 6th, 2005, 09:01 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Thanks anyhow! The attempt is appreciated.
I know that Chuck will save the day - and laugh at me while doing it. |
| |
September 6th, 2005, 09:15 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Tinkered with both the config-inc and config-int.php files -
Now showing:
Warning: main(mainfile.php): failed to open stream: No such file or directory in homeaquariumpublic_htmlpp-classifiedsheader-inc.php on line 233
Fatal error: main(): Failed opening required 'mainfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/pp-classifieds/header-inc.php on line 233
?????????????
|
| |
September 6th, 2005, 10:59 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,674
|
Correct the path to your vb2 installation in your config-int.php file to be able to load the program again and then follow the instructions in the other thread.
|
| |
September 6th, 2005, 11:06 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
As far as I know - it is pointed to the correct path - that's the problem. I have reviewed every file that I can think of - and everything looks right...???
|
| |
September 6th, 2005, 11:10 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,674
|
ah well there is your issue you have vb3 and you have turned on vb2 integration turn that OFF
|
| |
September 6th, 2005, 11:14 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Again - you are awesome.
ok - so it's working a bit better now - but:
Still have the following error @ the top:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/aquarium/public_html/photopost/forums/vb3.php on line 362
These two errors in the top right side bar:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/statspal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 11
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/statspal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 11
These two in the bottom right side bar:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/topratedpal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 26
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/topratedpal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 26
These in the center Welcome area:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/searchbox.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/indexhead.tmpl on line 16
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/searchbox.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/indexhead.tmpl on line 16
And these 4 at the very bottom:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/commentspal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 10
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/commentspal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 10
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/onlinepal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 20
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/onlinepal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 20 http://www.aquariumpros.ca/pp-classifieds/index.php |
| |
September 6th, 2005, 11:19 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,674
|
Well redownload the build as I beleive we fixed a line in vb3.php to read this at line 334
list( $userid, $username, $email, $dbpassword, $temppass, $usergroups, $offset, $sessionid, $salt ) = get_userinfo( "", $vbuserid );
Now your $PP_PATH is wrong in config-inc.php
/home/aquarium/www/photopost//home/aquarium/www/photopost ????
I beleive it should be this
/home/aquarium/public_html/photopost
|
| |
September 6th, 2005, 11:20 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Now also getting email DB errors:
An error was encountered during execution of the query:
SELECT groupid,cpaccess,modaccess,diskspace,uploadsize,uplimit,uploads,comments,editpho,editposts,useralbums,reqmod,canassign FROM pp_usergroups WHERE groupid=2 LIMIT 1
The query returned with an errorcode of:
Unknown column 'diskspace' in 'field list'
If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html
To turn off these emails, set $debug=0 in your config-inc.php file.
|
| |
September 6th, 2005, 11:21 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
| Quote: |
Originally Posted by omegatron Well redownload the build as I beleive we fixed a line in vb3.php to read this at line 334
list( $userid, $username, $email, $dbpassword, $temppass, $usergroups, $offset, $sessionid, $salt ) = get_userinfo( "", $vbuserid );
Now your $PP_PATH is wrong in config-inc.php
/home/aquarium/www/photopost//home/aquarium/www/photopost ????
I beleive it should be this
/home/aquarium/public_html/photopost |
Cut directly from the config-inc.php:
// Path to your PhotoPost Classifieds installation - no end slashes
$PP_PATH = "/home/aquarium/www/photopost";
|
| |
September 6th, 2005, 11:24 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Never-mind - DL'd it.
Last edited by aquariumpros; September 6th, 2005 at 11:31 PM.
Reason: update....
|
| |
September 6th, 2005, 11:46 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Uploading the new files from the current version now. I will advise.
Many thanks again.
|
| |
September 6th, 2005, 11:52 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
*sigh*
OK - deleted the old files (ie. config-inc/config-int) and re-uploaded the 2.42 version files...and still the same: Quote:
Still have the following error @ the top:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/aquarium/public_html/photopost/forums/vb3.php on line 362
These two errors in the top right side bar:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/statspal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 11
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/statspal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 11
These two in the bottom right side bar:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/topratedpal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 26
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/topratedpal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/sidebar_rightclose.tmpl on line 26
These in the center Welcome area:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/searchbox.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/indexhead.tmpl on line 16
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/searchbox.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/indexhead.tmpl on line 16
And these 4 at the very bottom:
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/commentspal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 10
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/commentspal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 10
Warning: main(/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/onlinepal.tmpl): failed to open stream: No such file or directory in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 20
Warning: main(): Failed opening '/home/aquarium/www/photopost//home/aquarium/www/photopost/templates/vb3enhanced/onlinepal.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarium/public_html/photopost/templates/vb3enhanced/undercat-sidebar.tmpl on line 20 http://www.aquariumpros.ca/pp-classifieds/index.php |
Still also receiving the db error emails: Quote:
An error was encountered during execution of the query:
SELECT groupid,cpaccess,modaccess,diskspace,uploadsize,uplimit,uploads,comments,editpho,editposts,useralbums,reqmod,canassign FROM pp_usergroups WHERE groupid=2 LIMIT 1
The query returned with an errorcode of:
Unknown column 'diskspace' in 'field list'
If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html
To turn off these emails, set $debug=0 in your config-inc.php file.
|
Last edited by aquariumpros; September 6th, 2005 at 11:54 PM.
|
| |
September 7th, 2005, 01:48 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Honolulu, HI
Posts: 130
|
Chuck? Anyone? |
| |
September 7th, 2005, 02:02 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,674
|
Looks to me like your uploading Photopost files to your classifieds install. This would explain your issue real easy.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:44 PM. | |