 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
November 10th, 2004, 10:46 AM
|
#1 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
| user_basedir error after moving to new server
We just moved to a new server and after moving the classifieds and DB, updating config-inc.php with the correct paths and DB info I'm getting the following error when browsing to the classifieds.
----------------- begin error msg ----------------------------
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/index.php on line 146
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/index.php on line 146
----------------- end error msg ----------------------------
You can browse the classifieds here: http://www.offshoreonly.com/classifieds/
PHP 4.2.2
RH9
I have root
Apache 2.0
Plesk 7.1.5
MySQL 3.23.58
|
| |
November 10th, 2004, 10:53 AM
|
#2 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
Also getting this in the Admin Panel
-------------- begin error msg -----------------------
Warning: readdir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/adm-main.php on line 21
---------------- end error msg ----------------------
|
| |
November 10th, 2004, 11:24 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,683
|
You need update your paths to the new path for the new server for things to work
Your new path is this though
/home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds
|
| |
November 10th, 2004, 12:37 PM
|
#4 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
The error message/post above was from after updating config-inc.php and header-inc.php with the correct paths. I'm double checking them now, is there another file i need to update?
|
| |
November 10th, 2004, 12:45 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,683
|
well look at the path the error is telling you is correct The error message tells you the wrong path and then tells you the correct path
You have your path entered incorrrectly somehow
post the full error message
|
| |
November 12th, 2004, 01:56 AM
|
#8 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
So upgrading the gallery seemed to resolve the open_basedir errors there, do i need to upgrade classifieds for the same fix here?
|
| |
November 12th, 2004, 10:20 AM
|
#9 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
The PP path here is correct :>)
/home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds
But I still have these errors
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/index.php on line 146
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/index.php on line 146
You can browse to the URL here: http://www.offshoreonly.com/classifieds/index.php |
| |
November 15th, 2004, 11:45 PM
|
#10 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
Okay I upgraded from 1.8 to 1.8.2, there were no upgrades to perform for the DB. Just copy the files over. The config-inc.php didn't change any.
but i'm still getting the errors on the home page, they don't show when i turn off the vBulletin integration in the header-inc.php
I get these errors in the classifieds home:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/index.php on line 147
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds/index.php on line 147
|
| |
November 15th, 2004, 11:49 PM
|
#11 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
Errors seem to be around template locations in the index.php but i can't figure out what exactly.
|
| |
November 16th, 2004, 12:19 AM
|
#12 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
So i figured it out, it's just a matter of the path to the templates in a couple files. You just need to add the global config pp_path variable to those lines of code to complete the path to the template files or manually put in the full path
Thanks for the help !
|
| |
November 16th, 2004, 12:28 AM
|
#13 (permalink)
| | Registered User
Join Date: Sep 2002 Location: Tampa, Florida
Posts: 60
|
Update: Those files to edit/add the variable path are:
adm-product.php
uploadproduct.php
reportproduct.php
editproduct.php
index.php
----------------------------------
Add this to the path inside the quotes in front of the template file
{$Globals['PP_PATH']}/
Last edited by memdy; November 16th, 2004 at 12:35 AM.
|
| |
June 25th, 2006, 05:48 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 99
|
Disregard
|
| |
July 15th, 2006, 02:56 AM
|
#15 (permalink)
| | Registered User
Join Date: Jul 2006
Posts: 2
| showgallery.php?
Check this out: http://www.e-kereta.com/v25/showmembers.php
Look at all member list. At the image thumbnail, original link was 'showgallery.php' but, there no such 'showgallery.php' in the original package. So, I modified the pp-inc.php and put 'showcat.php' to make it not 404 errors.
Hope developer will take further action.
TQ
|
| |
July 15th, 2006, 09:10 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,683
|
okay thanks
|
| | |
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 07:08 AM. | |