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 Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 21st, 2004, 03:28 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
2.0.1 Error above the Header

Hi guys, I am having troubles (similar to my Photopost install) with the following errors appearing above the header of my newly purchased Photopost Classifieds. I just installed 2.0.1 and enabled the VB3 portion of the header-inc.php. Here are the errors:

Quote:
Warning: is_dir(): open_basedir restriction in effect. File(stylesheets/default) is not within the allowed path(s): (/home/httpd/vhosts/classiczcars.com/httpdocs:/tmp) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/pp-inc.php on line 122

Warning: file_exists(): open_basedir restriction in effect. File(install.php) is not within the allowed path(s): (/home/httpd/vhosts/classiczcars.com/httpdocs:/tmp) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/index.php on line 24

Warning: file_exists(): open_basedir restriction in effect. File(http://www.classiczcars.com/classifieds/install.php) is not within the allowed path(s): (/home/httpd/vhosts/classiczcars.com/httpdocs:/tmp) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/index.php on line 24
This problem was remedied by modifying my index.php file. However, I believe the file included with PPClass 2.0.1 has this fix. But, please check to make sure. I would like to get rid of these errors.

-- MIke
gholsie is offline   Reply With Quote
Old December 21st, 2004, 03:29 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
Here's the line I was asked to change in my Photopost for the index.php file:
Code:
Content visible to verified customers only.
This line came from my Photopost Classifieds installer. Does this look right?

Last edited by gholsie; December 21st, 2004 at 04:04 AM.
gholsie is offline   Reply With Quote
Old December 21st, 2004, 04:04 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
FYI, I changed the above PHP code to the following and it removed a SINGLE error message.

Code:
Content visible to verified customers only.
I am still seeing two errors:

Quote:
Warning: is_dir(): open_basedir restriction in effect. File(stylesheets/default) is not within the allowed path(s): (/home/httpd/vhosts/classiczcars.com/httpdocs:/tmp) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/pp-inc.php on line 122

Warning: file_exists(): open_basedir restriction in effect. File(install.php) is not within the allowed path(s): (/home/httpd/vhosts/classiczcars.com/httpdocs:/tmp) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/index.php on line 24
gholsie is offline   Reply With Quote
Old December 21st, 2004, 12:28 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,736
You have safe mode on, which we don't really recommend, but you can change line 24 in index.php to just:

Code:
Content visible to verified customers only.
and line 122 in pp-inc.php to:

Code:
Content visible to verified customers only.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 21st, 2004, 04:05 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
Safe mode? How did I manage to turn that on?
gholsie is offline   Reply With Quote
Old December 21st, 2004, 04:19 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
Quote:
Originally Posted by Michael P
You have safe mode on, which we don't really recommend, but you can change line 24 in index.php to just:
and line 122 in pp-inc.php to:
Michael, I made the two changes, but, am still seeing one of the errors:

Quote:
Warning: file_exists(): open_basedir restriction in effect. File(http://www.classiczcars.com/classifieds/install.php) is not within the allowed path(s): (/home/httpd/vhosts/classiczcars.com/httpdocs:/tmp) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/index.php on line 24

Last edited by gholsie; December 21st, 2004 at 04:21 PM.
gholsie is offline   Reply With Quote
Old December 21st, 2004, 04:21 PM   #7 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,736
Made a slight change for line 24; use PP_PATH...
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 21st, 2004, 04:24 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
Quote:
Originally Posted by Michael P
Made a slight change for line 24; use PP_PATH...
OK! Looks good. All of the errors above my header are gone! I will post my index.php and pp-inc.php for others who have this problem with vbPortal. FYI, I am using the VB3 header-inc option instead of the vbPortal option.
gholsie is offline   Reply With Quote
Old December 21st, 2004, 04:29 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
Final PHP files to remove errors in header

Here are the final files that remove errors above my header. This is for use with vbPortal. I am using the VB3 option in header-inc.php to get this to work with vbPortal and it appears to work well.

-- Mike

Oops.. doesn't look like I can attach PHP files. Damn. If anyone is having troubles with this please send me a PM.
gholsie is offline   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
Help with header, Please? jannybear Photopost Pro How Do I...? 1 September 6th, 2005 03:44 PM
Header, footer, access error EDGEMAN Photopost Pro How Do I...? 17 March 16th, 2005 04:43 PM
header duplicate jwhysleep Photopost Pro Installation & Upgrades 7 January 21st, 2005 09:30 PM
Install/Upgrd Error header-inc.php on line 18 fpoole Photopost Pro Installation & Upgrades 6 January 10th, 2005 10:39 AM
Error when attempting vb3 header V-Rodforums Photopost Pro Installation & Upgrades 18 July 11th, 2004 04:57 PM


All times are GMT -5. The time now is 09:41 AM.

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