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 March 17th, 2005, 09:13 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
Unhappy Server Path problem?

I recently moved hosts, and as I setup on the new host I went to upgrade to 5.0.2

However right off I noticed issues. First off I had to disable all vb3 integration in config-int or else I got a blank page.

Now I'm trying to run the upgrade script and Im getting this error

Unable to create/write to /mnt/webhosting/sites/m/mmmogcommunities.com/forums/photopost/data/1! Check your data directory permissions before continuing.

My host is 100% positive this is the pathing. I even tried doing a fresh install of 5.0.2 and this is the path it pulled out for the variable. However doing a fresh install would leave me without ALOT of pics in the gallery.

So as it stands now I have issues with not being able to enable vb3 integration... and it not correctly reading my path...

I've spent the last 2 hours skimming the forums here and haven't seen any fixes for either problem

Any help is VERY much appreciated.

Site is www.mmogcommunities.com/forums/photopost
Cyricx is offline   Reply With Quote
Old March 18th, 2005, 03:37 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Hi..

I think you have doubled up on your paths and added /forums/ see below :

http://www.mmogcommunities.com/forums/photopost/data/

remove the /forums from your photopost config paths (where nessarsary) and you should be fine.

-T
b6gm6n is offline   Reply With Quote
Old March 18th, 2005, 07:52 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
/mnt/webhosting/sites/m/mmmogcommunities.com/forums/photopost/data/1! Check your data directory permissions before continuing.

This means your data directories and subdirectories are not set to 777

Your integration settings should be so

<?php
//-----------------------------------------------------------------------------------//
// Forum Integration Configuration File
//
// For users using our forum integration files, there are a few things
// we need to know - like the location of PhotoPost and your forums; this
// prevents us from doing alot of extra processing in these scripts we otherwise
// would have to do.
//
// Follow the guides to set your paths and enable the integration options you
// want.
//-----------------------------------------------------------------------------------//

// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/mnt/webhosting/sites/m/mmmogcommunities.com/forums";
$pppath = "/mnt/webhosting/sites/m/mmmogcommunities.com/forums/photopost";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://www.mmogcommunities.com/forums/photopost";
$vb_urlpath = "http://www.mmogcommunities.com/forums";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.mmogcommunities.com/forums/photopost/data/";


You can verify the server path from looking at your phpinfo file
__________________
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
Old March 22nd, 2005, 06:22 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
Welp, I've worked out all the path problems, however I'm still getting

Unable to create/write to /mnt/webhosting/sites/m/mmmogcommunities.com/forums/photopost/data/1! Check your data directory permissions before continuing.


And I am 100% positive that my chmod is set correctly.. the data directory, all sub folders and all files are set to 777.

Cyricx is offline   Reply With Quote
Old March 22nd, 2005, 06:38 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
Unable to create/write to /mnt/webhosting/sites/m/mmmogcommunities.com/forums/photopost/data/1! Check your data directory permissions before continuing.

Its either a path issue or permissions are wrong

link to a phpinfo file?
__________________
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
Old March 22nd, 2005, 07:59 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
http://www.mmogcommunities.com/forum...php?do=phpinfo

I am absolutely positive on the chmods bro, checked them a dozen times, even tried the trick posted in here about adding a / on the end of the data path on the admin page with no luck with or without the extra /
Cyricx is offline   Reply With Quote
Old March 22nd, 2005, 08:07 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
Well

I am absolutely correct since that error is pretty absolute

data/1 can not be 777
__________________
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
Old March 22nd, 2005, 08:37 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
Do you want ftp access? I'll happily PM ya a login to show ya
Cyricx is offline   Reply With Quote
Old March 22nd, 2005, 09:59 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
Even had one of my co-admins who is far more knowledable in ftp and chmod then myself check it out. And its set to 777.
Cyricx is offline   Reply With Quote
Old March 23rd, 2005, 06:49 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
I assume your error is when trying to run the step2 of the upgrade. The logic is pretty explicit here

Code:
Content visible to verified customers only.
Example if the directory is writable

if ( is_writable( $newdir ) ) {
mkppdir( $newdir );
}

In your error this is triggered meaning the directory exists but is not writable

else {
if ( is_dir( $newdir ) ) {
$waserror = true;
print "The directory $newdir is not writable.<br />";
}

Your sysadmin could easily follow this logic and see what I mean.

Do they have any internal php commands locked down? I can take a quick peek if you have ssh.
__________________
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
Old March 23rd, 2005, 07:36 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
PM sent with ssh access.

Yes it's stalling on step 2, I know everything is pointing to the chmod but it most certainly is 777

Not sure what you mean by internal php commands locked down. But that would most likely be the problem. I'm really leaning towards it being something in their settings.
Cyricx is offline   Reply With Quote
Old March 23rd, 2005, 10:02 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
You have an error in your global options in photopost for your data directory possible a space or something. I hard coded the path and your upgrade completed without fail
__________________
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
Old March 23rd, 2005, 10:29 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
Could the period in the path be messing it up?
Cyricx is offline   Reply With Quote
Old March 23rd, 2005, 10:48 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
No

From what I see the data directory is the path stored in the database. You have to have this entered wrong
__________________
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
Old March 23rd, 2005, 12:05 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
it's exactly the same as what is in the admincp...

/mnt/webhosting/sites/m/mmmogcommunities.com/forums/photopost/data/
Cyricx is offline   Reply With Quote
Old March 23rd, 2005, 12:50 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
There has to be a stray character as the upgrade just pulls the datadir

The minute I placed the datadir hard coded in there the script worked which really can only mean whatever was in the database settings is wrong

but anyway try and upload and see if you can upload
__________________
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
Old March 23rd, 2005, 02:31 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 45
Man I've looked at this a billiont times and it wasn't until I got to type in this box with the path at the top of the page here that I noticed three damn Ms

Huge props omega for your patience and assistance!

Got a customer for life right here that's for sure
Cyricx is offline   Reply With Quote
Old March 23rd, 2005, 02:43 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
LOL Glad you got it yeah I would have never spotted the 3 mmm's instead of 2 without looking real hard. I just knew it was wrong in your as when I hardcoded the path in the upgrade script it ran
__________________
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
Just installed and have a smiley path problem Doktor Installs and Upgrade - vBulletin 3.5.X 5 October 4th, 2005 12:32 PM
Picture Upload (Path Problem) andrew Photopost Pro Installation & Upgrades 1 August 30th, 2005 02:01 PM
Server Path to Forum directory T00L Photopost Pro Installation & Upgrades 24 April 4th, 2005 09:14 PM
Problem with new server paths hIBEES Photopost Pro Installation & Upgrades 5 February 17th, 2005 05:54 PM


All times are GMT -5. The time now is 10:18 AM.

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