PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 10th, 2004, 10:46 AM   #1 (permalink)
Registered User
 
memdy's Avatar
 
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
memdy is offline   Reply With Quote
Old November 10th, 2004, 10:53 AM   #2 (permalink)
Registered User
 
memdy's Avatar
 
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 ----------------------
memdy is offline   Reply With Quote
Old November 10th, 2004, 11:24 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 10th, 2004, 12:37 PM   #4 (permalink)
Registered User
 
memdy's Avatar
 
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?
memdy is offline   Reply With Quote
Old November 10th, 2004, 12:45 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 10th, 2004, 02:34 PM   #6 (permalink)
Registered User
 
memdy's Avatar
 
Join Date: Sep 2002
Location: Tampa, Florida
Posts: 60
That is the entire error message, Browse to the URL and you'll see.

http://www.offshoreonly.com/classifieds

Here is a copy of my config-inc.php (sanitized)

http://www.offshoreonly.com/classifi...ig-inc.php.txt

Here is a "pwd" from the classifieds directory

[root@server2 classifieds]# pwd
/home/httpd/vhosts/offshoreonly.com/httpdocs/classifieds
[root@server2 classifieds]#
memdy is offline   Reply With Quote
Old November 10th, 2004, 11:08 PM   #7 (permalink)
Registered User
 
memdy's Avatar
 
Join Date: Sep 2002
Location: Tampa, Florida
Posts: 60
I think this is related to my Gallery problem also, since they seem to be similar errors

open_basedir error during 4.8.2 upgrade
memdy is offline   Reply With Quote
Old November 12th, 2004, 01:56 AM   #8 (permalink)
Registered User
 
memdy's Avatar
 
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?
memdy is offline   Reply With Quote
Old November 12th, 2004, 10:20 AM   #9 (permalink)
Registered User
 
memdy's Avatar
 
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
memdy is offline   Reply With Quote
Old November 15th, 2004, 11:45 PM   #10 (permalink)
Registered User
 
memdy's Avatar
 
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
memdy is offline   Reply With Quote
Old November 15th, 2004, 11:49 PM   #11 (permalink)
Registered User
 
memdy's Avatar
 
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.
memdy is offline   Reply With Quote
Old November 16th, 2004, 12:19 AM   #12 (permalink)
Registered User
 
memdy's Avatar
 
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 !
memdy is offline   Reply With Quote
Old November 16th, 2004, 12:28 AM   #13 (permalink)
Registered User
 
memdy's Avatar
 
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.
memdy is offline   Reply With Quote
Old June 25th, 2006, 05:48 AM   #14 (permalink)
Member
Verified Customer
 
bplinson's Avatar
 
Join Date: Nov 2004
Posts: 99
Disregard
bplinson is offline   Reply With Quote
Old 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
paksu is offline   Reply With Quote
Old July 15th, 2006, 09:10 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,683
okay thanks
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues after moving to new server... aquariumpros Classifieds Installation & Upgrades 36 September 8th, 2005 03:54 PM
Issues after moving to new server... aquariumpros Photopost Pro Installation & Upgrades 6 September 7th, 2005 12:10 AM
Login Error after Moving Server pengrus Photopost Pro Installation & Upgrades 5 February 28th, 2005 09:56 AM
Moving site to new server...what should I look for when moving Photopost? zerinS4 Photopost Pro Installation & Upgrades 5 February 14th, 2005 08:56 AM
Moving to a new server pergesu Photopost Pro Installation & Upgrades 2 January 31st, 2005 11:58 PM


All times are GMT -5. The time now is 07:08 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0