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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 2nd, 2011, 10:18 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Cant make changes in admin cp

Ok I know the problem but I cant seem to fix it. My Storage Options are set to the old server but I try to change them and all I get is the sidebar and a blank frame. Now when I did the migration I was able to change paths in the admin but for some reason I cant do it any longer. Anything I try to change just reverts tot he sidebar and blank frame.

I cant turn on or off the gallery.

I can see photos when logged in as admin. All members see is the closed message.

Completely stuck....
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 10:43 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You can send a url and admin log to the contact us link I have never seen such an issue.

You can also try rerunning the install.php script installing into the same database tables and it should update all settings without deleting anything. Or alternatively edit that setting in your pp_ settings table to the correct server path.
__________________
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 August 2nd, 2011, 11:24 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Well I went with changing it in the DB and its displaying fine now but still couldn't open or close the gallery so I opened it in the DB. Fine now its open but I go to upload an image and still no luck it just loops back to the upload page.
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 12:27 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Ok I finally found the install.php. This might be a dumb questions but wouldn't that overwrite the existing database. We don't want to do that..
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 12:32 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You can not overwrite a database persay. Running the install script into tables that exist will give you duplicate errors no big deal when installing the main stuff but alot of the install script is inputting urls server paths etc and we update the tables which means running the install will make sure all urls and server paths are what you want them to be.
__________________
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 August 2nd, 2011, 12:36 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Step 2 install error. As far as I can tell setting are right.
Quote:
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/mogrify) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/p16t2ugb/public_html/gallery/install.php on line 533


Step 2: Checking Your Server

This set will try to verify the location of MOGRIFY in your config-inc.php. If you have set these variables properly, you should get a OK FOUND message. This indicates that PhotoPost can see those files (but did not execute them). If you get a WARNING, you should edit your config-inc.php file to fill in proper path (remember, they should point to the file - not just the directory!).

Paths to executables may not contain spaces - if using long filenames, use the short version.

Testing MOGRIFY at: /usr/bin/mogrify.... WARNING!
Cannot find ImagicMagick's MOGRIFY command listed as: /usr/bin/mogrify
Be sure that the name of the executable is listed in this variable and that there are no spaces in the path to mogrify.There were 1 WARNING message(s). If you are okay with the warnings, you may continue, otherwise GO BACK to change your config-inc.php or click refresh to try again!
Verification Completed!

The next step will configure your database.
Now I thought my old PP was on MOGRIFY at least the old config file shows it but my forum is running GD. Should I remove MOGRIFY and use GD in the first install page?
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 12:43 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Ya I just tool a look in the admin and its set to GD2 there and MOGIFY in Config. Could this be the issue?
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 12:52 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You should be using GD2 that error is simply telling you that open_basedir is set therefore you can not use mogrify and any program outside your own server path. You just need to roll through an install specifying correct info to update your urls paths.
__________________
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 August 2nd, 2011, 01:06 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
No luck now the entire gallery is gone.

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/p16t2ugb/public_html/gallery/header-inc.php on line 57

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/p16t2ugb/public_html/gallery/header-inc.php on line 58

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/p16t2ugb/public_html/gallery/header-inc.php on line 58

Fatal error: require() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/p16t2ugb/public_html/gallery/header-inc.php on line 58
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 01:09 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
From this forum it seems to be the last step but I checked the config.int and it looks right.

// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/p16t2ugb/public_html/forum";
$pppath = "/home/p16t2ugb/public_html/gallery";
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 01:27 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Your error is saying the complete opposite it is saying we can not find the vb global.php file based off the path entered there. I would triple check the forum path.
__________________
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 August 2nd, 2011, 01:37 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
/home/p16t2ugb/public_html/forum

Right off my CP Panel and the exact same in PP Classifieds. ???

/home/p16t2ugb/public_html/classifieds
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 01:56 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If your vb path is correct in the vbpath line in the config-int.php file your page should load the only time we see the error your stating is if the path is wrong sometimes users leave classifieds in the forum path which is 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 August 2nd, 2011, 02:15 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Using forumpath.php I got the same exact line. Heres an exact copy of the config.int

Quote:
// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/p16t2ugb/public_html/forum";
$pppath = "/home/p16t2ugb/public_html/gallery";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://www.scalemotorcars.com/gallery";
$vb_urlpath = "http://www.scalemotorcars.com/forum";

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

// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";

// If you use the mobile phone integration, set this variable to the CatID for the gallery
define( MOBILE_CAT, -1 );

//------------------------------------- vB3 -----------------------------------------//
// VB3_INTEGRATION is for using vB3 or vB4 headers/footers and styles
// VB3_ENHANCEDINT is for Enhanced vB3 or vB4 Integration (using vB3 or vB4 elements in PhotoPost)
// requires that VB3_INTEGRATION also be set to 'on'
// VB3_COMMWYSIWYG is for turning on the WYSIWYG interface on the Post A Comment page
// if you set this to 'off' then only the standard input box will appear
//
// Set to 'on' to enable specific integrations
define(VB3_INTEGRATION, 'on');
define(VB3_ENHANCEDINT, 'on');
define(VB3_COMMWYSIWYG, 'on');
//-----------------------------------------------------------------------------------//


//------------------------------------- vB2 -----------------------------------------//
// VB2_INTEGRATION is if you are using vB2 and want to use the vB2 integration
define(VB2_INTEGRATION, 'off');
//-----------------------------------------------------------------------------------//


//---------------------------------- vB2 Portal -------------------------------------//
// To use set path and set flag to 'on'
define(VBP2_INTEGRATION, 'off');
$vbportal="/home/sites/yoursite/web/vbportal";
//----------------------------------------------------
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 02:24 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Ok that was weird. I checked the file in my CP Panel and it wrong. On Filezilla it was right. Changed it and I now have the gallery back. I did notice a warning as I did a test upload. Photo uploaded fine and seems to work but can you tell me what this error is for?

Quote:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/p16t2ugb/public_html/gallery/image-inc.php on line 754
In all options, Image processor is set to GD2

Configuration page still has this on last line.. /usr/bin/mogrify

Last edited by scalemotorcars; August 2nd, 2011 at 02:34 PM.
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 02:32 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
You know while were at it any ideal why I also get this error when I log in.
Using vbseo 3.6 if that matters...

well that parsed the link it did read scalemotorcars/gallery
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 02:32 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
As previously noted above your new server has open_basedir set so you can not use any server program outside your own webroot. Therefore in global options in admin remove any paths to say jpegtran jhead etc as you can not use those.
__________________
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 August 2nd, 2011, 03:08 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
Cool that fixed the error with upload. So my server is set to Safe Mode???

Any ideal about the redirect error?

Last edited by scalemotorcars; August 2nd, 2011 at 03:16 PM.
scalemotorcars is offline   Reply With Quote
Old August 2nd, 2011, 03:48 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
open_baseir is on not safe mode. if safe mode was on you would not be able to upload.

cant say about any vb redirect thing without seeing what you mean.
__________________
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 August 2nd, 2011, 04:10 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 233
If Im logged out and I happen to log in from any gallery page I get this redirect notice. All I have to do is click the forum but its still an error and my members might not feel as carefree about it.
Attached Images
File Type: png redirect.png (27.6 KB, 3 views)
scalemotorcars 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
MAke all thumbs same size? Admin thumbs are bigger. autino Photopost Pro How Do I...? 10 September 6th, 2008 11:16 PM
Make Albums for User as a Admin? ZakRhino Photopost Pro How Do I...? 1 April 6th, 2008 08:06 PM
Admin page - Online users time doesnt use the GMT offset but the admin log does Silver_2000 Photopost Pro Installation & Upgrades 7 July 11th, 2005 09:40 AM
Admin user account lost admin privileges zentraveller Photopost Pro Installation & Upgrades 5 December 27th, 2004 02:38 PM
Admin login stopped working... backup admin does work... LittleBrother ReviewPost Installation & Upgrades 2 July 1st, 2004 03:58 AM


All times are GMT -5. The time now is 02:40 PM.

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