 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
February 13th, 2007, 08:08 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Header-inc.php page is blank
I just finished up reinstalling Photopost after a catastrophic crash on my site, and when I go to set up the vBulletin integration and run the header-inc.php page, that page is completely blank. No error, no message, nothing.
If I turn OFF vB integration in the options menu, then I get this... (I swapped my site name with the _____) Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/_______/public_html/Photopost/header-inc.php on line 64
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/_______/public_html/Photopost/header-inc.php on line 65
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/_______/public_html/Photopost/header-inc.php on line 65
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/_______/public_html/Photopost/header-inc.php on line 65
Any thoughts?
|
| |
February 13th, 2007, 09:45 PM
|
#2 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
OK - from digging around in here I know that my server path is wrong - but the problem is I don't know what a correct server path should look like.
I saw an example of $vbpath = "/home/******/www/websitename/forumname";
...but that didn't work.
In the example above, what's the *****? The URL? If so, what's the difference between the URL, the websitename and the forumname? My forum is in the root of my public_html folder. (the site is JUST a private vBulletin forum) My Photopost folder is at public_html/Photopost. What would my server path look like if (for example) my site was Yahoo.com?
|
| |
February 13th, 2007, 10:18 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
OK... update - I changed my server path to /home/*****/public_html/ and /home/*****/public_html/Photopost/
Now regardless of whether my vB integration is set to on or off, my config-int.php file is blank - no error, no nothing.
|
| |
February 15th, 2007, 09:52 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
I do not see whether this is resolved but the fix is to ensure you have the proper vb path is set correctly. You can place a link to your gallery here
|
| |
February 15th, 2007, 03:55 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Quote:
Originally Posted by Chuck S I do not see whether this is resolved but the fix is to ensure you have the proper vb path is set correctly. You can place a link to your gallery here | Nope - this isn't resolved. The config-int.php page is COMPLETELY blank.
If I go to Photopost/index.php I get the really simplistic gallery view. But I want to integrate this with my vB styles...
I'd rather not post a link to my site because it's a members-only site and I've already had hackers take it down once.
I know that my server path is wrong, but I don't know what a correct server path looks like. My 2nd post in this thread explains my install structure - does that give you the info you need? |
| |
February 15th, 2007, 03:57 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Under Admin => edit integration in admin of Photopost you input the proper server paths and urls and turn on the vb3 integration this should resolve your issue.
|
| |
February 15th, 2007, 04:07 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Quote:
Originally Posted by Chuck S Under Admin => edit integration in admin of Photopost you input the proper server paths and urls and turn on the vb3 integration this should resolve your issue. | I know what I have to change but I don't know what to change it to.
My forum is installed in the root of my public_html folder (so that the path to my forum is literally just www._____.com/index.php). My PHotopost directory is in public_html (so the path to my gallery would be www._____.com/photopost/index.php).
So if my site were Yahoo.com, what would my server path be?
|
| |
February 15th, 2007, 06:23 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jan 2002
Posts: 265
| Quote:
Originally Posted by mrsquid Nope - this isn't resolved. The config-int.php page is COMPLETELY blank.
If I go to Photopost/index.php I get the really simplistic gallery view. But I want to integrate this with my vB styles...
I'd rather not post a link to my site because it's a members-only site and I've already had hackers take it down once.
I know that my server path is wrong, but I don't know what a correct server path looks like. My 2nd post in this thread explains my install structure - does that give you the info you need?  | If by config-int.php is blank you mean that if you access: www._____.com/photopost/config-int.php
or www._____.com/Photopost/config-int.php
you get a blank page, that's normal (not sure which one is your path as one post has an upper case P as in Photopost and another has a lower case p as in photopost).
The page isn't supposed to show anything when accessed via the web for security reasons.
For example: http://www.techimo.com/photo/config-int.php
is blank.
Regarding the server paths, your issue could be the case sensitivity so if you access: www._____.com/Photopost/config-int.php
then your photopost server path is likely:
/home/_______/public_html/Photopost
If you access: www._____.com/photopost/config-int.php
then your photopost server path is likely:
/home/_______/public_html/photopost
with whatever _____ is for you. Based on your posts I think you are on a Linux/Unix system so case is important. If you aren't on Linux/Unix then the above may not apply.
Hope this helps.
|
| |
February 15th, 2007, 08:05 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Your Photopost server path you can find in your config settings under PP_PATH
Your urls I think you know already and as far as your forum server path it should be your photopost path minus the /photopost since your forum is your webroot
|
| |
February 15th, 2007, 09:16 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
ugh... you can certainly tell I've had some loooong days lately! I don't know how I started in on the config-int.php file. It's the header-inc.php that I can't get to work so that I can do my vB integration. And again, this takes me back to my server path. (I think)
I'll have to read through the latest posts here and see if I can use what's there to make this work.
|
| |
February 16th, 2007, 11:21 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
You never call any of those files directly. You only need to fill out the proper paths in the edit integration in admin like maybe so since I dont have your true paths here all anyone can do is make suggestions but this is what it should look like
server path to forum
/home/*****/public_html
server path to photopost
/home/*****/public_html/Photopost/
url to forums http://www.domain.com
url to photopost http://www.domain.com/Photopost
url to data directory http://www.domain.com/Photopost/data/
then turn on the 3 vb3 integration switches
|
| |
February 17th, 2007, 10:24 AM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
Thanks for sticking with me Chuck - you totally rule. I got it to work. The only other thing I had to do was copy my site's skin images into the Phopost/Images folder - then it all worked great.
Thanks again! Quote:
Originally Posted by Chuck S You never call any of those files directly. You only need to fill out the proper paths in the edit integration in admin like maybe so since I dont have your true paths here all anyone can do is make suggestions but this is what it should look like
server path to forum
/home/*****/public_html
server path to photopost
/home/*****/public_html/Photopost/
url to forums http://www.domain.com
url to photopost http://www.domain.com/Photopost
url to data directory http://www.domain.com/Photopost/data/
then turn on the 3 vb3 integration switches | |
| |
February 17th, 2007, 12:04 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
You did not have to copy the skin images to photopost
You just need to in the vb styles admin for that style change those relative image paths to full urls and they load fine
|
| | |
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 | | | All times are GMT -5. The time now is 03:40 PM. | |