PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old May 15th, 2010, 02:33 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 78
vbgallery_install.php fails to launch

I just get the admincp header & footer for this page when I attempt to launch that page.

This is my second pass at upgrading gallery; I'm not going to let it stop me from finishing the rest of the board upgrades this time.

I've therefore purchased upgrade service from you fine folks. I look forward to scheduling the work with you.
bulbasnore is offline   Reply With Quote
Old May 15th, 2010, 02:50 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I seem to remember having an issue on my own server testing our a vbgallery install.

I dont remember off hand which one but it seems to me that under your php settings on the server you must allow these

Enable 'exec' function
Enable 'popen' function
Enable 'passthru' function
Enable 'proc_open' function
Enable 'shell_exec' function
Enable 'system' function

See if your host has any of those enabled and you can enable them as you need them to allow the install to run.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 16th, 2010, 01:57 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 78
Yes, they're all working (judging by none being disabled in php.ini and testing some code for shell_exec successfully). Its a default fedora core 12 install, on a private server, so, this stuff is (for better or worse) enabled.

Looking forward to hooking Photopost up with the required information to let them do the upgrade we purchased today. I didn't see any instructions, so I assume someone is going to contact me. If not, please let me know how to proceed.
bulbasnore is offline   Reply With Quote
Old May 16th, 2010, 09:53 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Not a problem I am merely responding to what it sounds like as I had a similar issue where all I got was just a header footer no box to select install upgrade etc

I am using 5.3 php and I had one or a couple of those options disabled in my php and once I enabled them I was able to install fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 16th, 2010, 09:33 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 78
Thanks, Chuck. If there is some way to test for that, other than phpinfo(); or looking in the php.ini, I would love to try it.

I looked in google, but almost all the questions I could find were from people who had problems getting their hosts to turn it on. No suggestions on how to test for it, that I could find. The one I did on shell_exec was from the php manual.
bulbasnore is offline   Reply With Quote
Old May 17th, 2010, 07:30 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
You can always ask your host is any of those are disabled. As I stated I dont know which one specifically caused the issue but most definately when I enabled those functions things worked fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 17th, 2010, 10:45 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 78
Quote:
Originally Posted by Chuck S View Post
You can always ask your host is any of those are disabled. As I stated I dont know which one specifically caused the issue but most definately when I enabled those functions things worked fine.
For better or worse, I am the host. It's a Fedora Core 12 stock install that sits in my living room.
bulbasnore is offline   Reply With Quote
Old May 17th, 2010, 11:04 AM   #8 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
well then downgrade from php 5.3 to 5.21
I'm ready to take a bet it will run..
Luciano is offline   Reply With Quote
Old May 17th, 2010, 11:18 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well I have mine running on 5.3 PHP so it works but I would suspect the issue is as I posted one of those functions is not working as thats how I made it work for me.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 17th, 2010, 11:54 AM   #10 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
well i have running php53 running on my dev and if i run the installer.. i get a blank page just the vbgallery header (for install) and a warning..
Quote:
Warning: substr() expects parameter 2 to be long, string given in C:\apache\apache2\htdocs\babelsite\forums\admincp\vbgallery_install.php on line 1459
If warnings are suppressed i get the blank page without the warnings...
there is one way to fix it...
good news about seeing the errors.. i found the problem..

on line 1459 find

Code:
Content visible to verified customers only.
change the '' to 0
that gives
Code:
Content visible to verified customers only.
and it works..

This should not be a warning, but an error message, because php 5.3 stops on that.. in php 5.2 it still accepted the '' parameter instead of 0

Luc

PS: thats why i suggested he should downgrade to php 5.2
when compiling php i guess there is a flag like halt on errors.. as i cant overrule this even if i set php.ini to suppress errors..
Luciano is offline   Reply With Quote
Old May 17th, 2010, 07:03 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 78
Luciano, thank you. Yes, I DO have warnings turned off (because 5.3 SPEWS them into the logs). I've already hired Photopost to do the install, so I'm going to let them go through with that, in part because I've already spent 18 hours this weekend, and I have to make my family (and my job) feel like I notice they are there .

I deeply regret going from FC10 to FC12 (should have stopped at FC11). I was ignorant of how radically PHP5.3 had changed things for our previously reliable scripts. If I had it to do over (and I may this still redo the server this summer) I would have gone with CENTOS 5.
bulbasnore is offline   Reply With Quote
Old May 18th, 2010, 07:43 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
If there is an install for us to do we can see what the issue is when we get the required paperwork sent back to us.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 18th, 2010, 02:55 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 78
Thanks for the install. At least I'm on 2.5(1?)! New post in bugs.
bulbasnore is offline   Reply With Quote
Old May 18th, 2010, 07:03 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well okay not aware of any issues with 2.51 though
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Database Error in vbgallery_install.php ! antivirus Installs and Upgrade - vBulletin 3.6x 3 November 11th, 2008 08:05 PM
Approving Pictures FAILS dondaniel Photopost Pro Bug Reports 2 May 24th, 2008 04:44 PM
Problem when running vbgallery_install.php Frogger Installs and Upgrade - vBulletin 3.6x 3 November 21st, 2007 11:14 AM
If all else fails.... b6gm6n Photopost Pro How Do I...? 1 June 28th, 2007 03:36 PM
Install.php fails duffb Photopost Pro Installation & Upgrades 4 November 1st, 2006 09:45 AM


All times are GMT -5. The time now is 06:13 PM.

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