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 Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 7th, 2006, 12:36 PM   #1 (permalink)
wtd
Junior Member
Verified Customer
 
Join Date: May 2005
Posts: 12
transfered to a new server... and am pulling my hair out.

i've used plesk for quite some time... been fairly pleased with their features and stability. started outgrowing my old server, so just moved to a new box this weekend, which utilizes the latest build of plesk (7.5)

the one major change, is now all home directories are symlinked through /var/www instead of their actual location of /home/httpd - i understand the need to be a little more mainstream on paths... but it has thrown a wrench into the works with photopost. unfortunately, from what i can see, the sheer amount of changes that would have to be made to plesk in order to point this back is astronomical and would leave security updates in the future a nightmare. so... i need to fix the issue with the coding.

after made the change in config-inc to reflect the path allowed, as /var/www/, photopost displayed properly (have vb3 integration, changes were made there as well) - so... everything started working fine. except uploads.

i have continually gotten open_basedir restrictions. usually, this isnt a big deal to fix, but its something with this symlink being used that is throwing things out of whack. i have allowed all paths in every variation, and am getting nothing but errors still. if you'll notice the errors below... it states it is not in the allowed path, and yet immediately afterwards, states the exact path that is in, is allowed.
Quote:
Warning: copy(): open_basedir restriction in effect. File(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif) is not within the allowed path(s): (/home/httpd/vhosts/website.com/httpdocs:/var/www/vhosts/website.com/httpdocs:/tmp) in /var/www/vhosts/website.com/httpdocs/gallery/uploadphoto.php on line 512

Warning: copy(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif): failed to open stream: Operation not permitted in /var/www/vhosts/website.com/httpdocs/gallery/uploadphoto.php on line 512

Warning: getimagesize(): open_basedir restriction in effect. File(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif) is not within the allowed path(s): (/home/httpd/vhosts/website.com/httpdocs:/var/www/vhosts/website.com/httpdocs:/tmp) in /var/www/vhosts/website.com/httpdocs/gallery/image-inc.php on line 214

Warning: getimagesize(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif): failed to open stream: Operation not permitted in /var/www/vhosts/website.com/httpdocs/gallery/image-inc.php on line 214

Warning: copy(): open_basedir restriction in effect. File(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif) is not within the allowed path(s): (/home/httpd/vhosts/website.com/httpdocs:/var/www/vhosts/website.com/httpdocs:/tmp) in /var/www/vhosts/website.com/httpdocs/gallery/image-inc.php on line 241

Warning: getimagesize(): open_basedir restriction in effect. File(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif) is not within the allowed path(s): (/home/httpd/vhosts/website.com/httpdocs:/var/www/vhosts/website.com/httpdocs:/tmp) in /var/www/vhosts/website.com/httpdocs/gallery/image-inc.php on line 412

Warning: getimagesize(/home/httpd/vhosts/website.com/httpdocs/gallery/data/503/image.gif): failed to open stream: Operation not permitted in /var/www/vhosts/website.com/httpdocs/gallery/image-inc.php on line 412
as well as a note stating the image is too small (but obviously because it doesnt exist in the data dir)

the files upload fine. the files i have tested with all write to the uploads dir without issue. all permissions are set correctly as well. it has something to do with the $filepath being called from $Globals. how or where its getting /home/httpd/etc from i can only guess is a readdir as the line "/home/httpd/etc..." no longer exists in any coding on my site anywhere.

im hoping its something simple, and just my lack of sleep is blinding me from something horribly obvious. anyone have any suggestions? tips? point me in the right direction?
wtd is offline   Reply With Quote
Old January 7th, 2006, 02:31 PM   #2 (permalink)
wtd
Junior Member
Verified Customer
 
Join Date: May 2005
Posts: 12
nevermind. found it. admincp ->storage options -> data path

i changed that several times, but had another issue on the box that kept it from writing apparently.
wtd is offline   Reply With Quote
Old January 7th, 2006, 05:12 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
Okay was about to reply to change it to this

/var/www/vhosts/website.com/httpdocs/gallery/data/
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PP trouble finding VB user info? (But classifieds pulling it just fine) RobertBasil Photopost Pro Installation & Upgrades 11 December 22nd, 2011 10:28 AM
Pulling My Hair out - Water Marks not working! Basil Classifieds Installation & Upgrades 2 June 2nd, 2005 12:56 AM
Since my server farted.... mholtum Installs and Upgrade - vBulletin 3.0.X 4 May 1st, 2005 11:20 AM
I need a server with GD CSS59 Installs and Upgrade - vBulletin 3.0.X 2 March 25th, 2005 06:46 AM
4.8.2 -> 4.8.6 on different server Marc Photopost Pro Installation & Upgrades 3 January 12th, 2005 05:08 PM


All times are GMT -5. The time now is 03:38 PM.

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