 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 26th, 2006, 01:25 PM
|
#21 (permalink)
| | Member Verified Customer
Join Date: Oct 2005
Posts: 250
| Quote: |
Originally Posted by janeausten72 Okay, I've tried rebuilding before to no avail, but TODAY it is working and I now have thumbnails. Thank you! Thank you!
Any ideas about the upload problem? | If the error is occurring at line 37 does that mean you're not running 5.31? Maybe that has something to do with it. Although since Chuck hasn't mentioned it, probably not |
| |
August 3rd, 2006, 08:23 PM
|
#22 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2005
Posts: 17
|
We just moved to a new host and are getting a similar error Quote: |
Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/httpd/vhosts/anglersonly.com/httpdocs/gallery/uploads/425/E8O8644.JPG) is not within the allowed path(s): (/var/www/vhosts/anglersonly.com/httpdocs:/tmp) in /var/www/vhosts/anglersonly.com/httpdocs/gallery/image-inc.php on line 37
| Where is photopost pulling the "/var/www/vhosts" from in the configuration? It should be "/home/httpd/vhosts" on the new server and I've been all through the pp_settings table, config-inc.php, and config-int.php and can't find any setting that still has /var/www/vhosts in it anywhere.
Photopost version 5.3
RedHat ES4
PHP 4.3.9
Apache 2.0
MySQL 4.1
|
| |
August 3rd, 2006, 09:17 PM
|
#23 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
You need to change your uploads and data paths in admin => Global Options
|
| |
August 3rd, 2006, 11:31 PM
|
#24 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2005
Posts: 17
|
I just confirmed those paths are correct in ADMIN>GLOBAL OPTIONS
|
| |
August 4th, 2006, 07:27 AM
|
#25 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Check all your paths and set to the /var one they can not be set correctly and this error shows that Quote: |
Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/httpd/vhosts/anglersonly.com/httpdocs/gallery/uploads/425/E8O8644.JPG) is not within the allowed path(s): (/var/www/vhosts/anglersonly.com/httpdocs:/tmp) in /var/www/vhosts/anglersonly.com/httpdocs/gallery/image-inc.php on line 37
| |
| |
August 4th, 2006, 10:48 AM
|
#26 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2005
Posts: 17
|
# cat config-inc.php | grep www
# cat config-int.php | grep www
I can't find that path to change it. I've even been through the pp_settings table in MySQL looking for that value to be set in the DB. I found all instances in the table and updated them accordingly, but I still have this rogue value somewhere.
|
| |
August 5th, 2006, 09:50 AM
|
#27 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
In Admin => Global Options the data and uploads server paths are set. Also in your config-inc.php file is the $PP_PATH variable
|
| |
August 5th, 2006, 09:26 PM
|
#28 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2005
Posts: 17
|
I totally agree it should be in the config or ADMIN>GLOBAL but they are all correct. I've checked and rechecked them. Does the error message indicate to you where it's pulling that /var/www path? Where does image-inc.php get that tmp path from?
|
| |
August 6th, 2006, 10:34 AM
|
#29 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
From the error you are showing me in global options you are using
/home/httpd
instead of
/var/www
in your global config for at least the minimum the uploads directory path
|
| |
August 13th, 2006, 09:32 PM
|
#30 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2005
Posts: 17
|
I think our issue may have something to do with PHP and Apache and following symlinks because /home/httpd is actually a symlink to /var/www and thats why /var/www is showing up in the error message ....still investigating
|
| |
August 13th, 2006, 10:09 PM
|
#31 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2005
Posts: 17
|
Updated all config-xxx.php files and settings in admincp to point to /var/www instead of /home/httpd and we are now able to upload images successfully. So Photopost doesn't like symlinks when it comes to uploading/manipulating images.
|
| |
August 14th, 2006, 09:55 AM
|
#32 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Has nothing to do with Photopost at all here. Your PHP has open_basedir set to the /var/www thus you can not use symbolic links
|
| |
August 25th, 2006, 11:48 PM
|
#33 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
how about this error?
Unable to move file /var/tmp/phpRj2mcg /hsphere/local/home/screamin/dev.azsportbikes.org/photopost/uploads/1/03-31-06_0138.jpg
|
| |
August 26th, 2006, 12:59 AM
|
#34 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
funny thing is every time i make a change the first line of text changes atthe end but the results are the same. ive checked permissions, settings, DB config, folder permissions. im completely lost on where to go from here.
|
| |
August 26th, 2006, 04:39 PM
|
#35 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Your permissions on your uploads and data directories must be set to 777 permissions at every level
|
| | |
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 | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Can't upload Photos | DataAve | Photopost Pro Installation & Upgrades | 3 | November 16th, 2005 07:34 PM | | can not upload photos :( | majed | Photopost Pro Bug Reports | 2 | October 11th, 2005 01:05 AM | | Cannot upload photos | amymarco | Photopost Pro Installation & Upgrades | 26 | May 12th, 2005 09:41 PM | | Can't upload photos... | banuchi | Photopost Pro Installation & Upgrades | 12 | March 19th, 2005 11:56 AM | | Photos will not upload | bill03 | Photopost Pro Installation & Upgrades | 1 | August 20th, 2004 08:10 AM | All times are GMT -5. The time now is 03:15 PM. | |