 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
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
|
| |
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.
|
| |
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
| |
| |
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. |
| |
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?
|
| |
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.
|
| |
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. |
| |
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.
|
| |
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.
|
| | |
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 09:41 AM. | |