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 March 26th, 2006, 02:39 PM   #1 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
Page Error header-inc.php

I was trying (after the fact) to have the photopost install recognize
and use the vb styles. It through up errors on line 60 and 61 which was asking for the forum location and global php location.

The last error is

Quote:
Parse error: parse error, unexpected T_UNSET in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 62
which is this code.
Code:
Content visible to verified customers only.
I am not sure what exactly is supposed to go in that space.
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 05:02 PM   #2 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
I couldn't be more frustrated at this thing.

I ended up just deleting everything and starting over.

I still get these errors no matter what I do.

Quote:
Warning: chdir(): No such file or directory (errno 2) in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 60

Warning: main(./global.php): failed to open stream: No such file or directory in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 61

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 61
I have followed instructions. I've checked the file path and it appears correct in the config-int file yet still this.

If I go into the header-inc file and enter the paths I end up with the error reported above.
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 05:08 PM   #3 (permalink)
Member
Verified Customer
 
SkytZo's Avatar
 
Join Date: Jan 2003
Location: USA
Posts: 48
same thing here .. .

paths are correct as use them for vBa-photopost-gallery
Code:
Content visible to verified customers only.
SkytZo is offline   Reply With Quote
Old March 26th, 2006, 06:01 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
On the last step of install you have inputed the INCORRECT path to your vb forum

You can edit config-int.php and place the proper server path to the vb forum for the $vbpath variable and you should be fine.
__________________
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 26th, 2006, 06:05 PM   #5 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
I've looked this over a hundred times. Perhaps my format is wrong in the header-inc

I've got this statement
chdir($vbpath);

how is it supposed to look if my file directory is
/kunden/homepages/20/d123767094/htdocs/vbfiles/Forum

I'm running vbadvance cmps 2.1 and vb3.5.4


Quote:
Originally Posted by Chuck S
On the last step of install you have inputed the INCORRECT path to your vb forum

You can edit config-int.php and place the proper server path to the vb forum for the $vbpath variable and you should be fine.
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 06:07 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
I dont know where your getting that path from

Look at your error its telling you the proper path

Code:
Content visible to verified customers only.
__________________
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 26th, 2006, 06:12 PM   #7 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
That isn't my thread chuck.

Sorry. My errors are these

Quote:
Warning: chdir(): No such file or directory (errno 2) in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 60

Warning: main(./global.php): failed to open stream: No such file or directory in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 61

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 61
I am not sure how to edit my header-inc and suspect that is where my problems lay.
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 06:14 PM   #8 (permalink)
Member
Verified Customer
 
SkytZo's Avatar
 
Join Date: Jan 2003
Location: USA
Posts: 48
the last step of the install added /pp/forum to the forum path -

i have the one i manualy edited uploaded , and its right -
the one pp did on the server was changed the file and made the forum path wrong .

all works - thanks .

http://www.photopost.com/forum/showp...9&postcount=10
SkytZo is offline   Reply With Quote
Old March 26th, 2006, 06:29 PM   #9 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
ok I'll look into the config file now, but what should I do with the header-inc file? anything?
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 06:35 PM   #10 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
ok I corrected one error and now I've got two errors left

Quote:
Warning: main(./global.php): failed to open stream: No such file or directory in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 61

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 61
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 06:43 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Well I am going to assume by your error your vb path is this

Code:
Content visible to verified customers only.
__________________
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 26th, 2006, 06:47 PM   #12 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Double-check the setting in this line of your gallery/config-int.php

$vbpath =
Zachariah is offline   Reply With Quote
Old March 26th, 2006, 06:57 PM   #13 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
I added this to line 60 which seems to have resolved that error in the
header-inc.php

Code:
Content visible to verified customers only.
now I'm getting this one...
Quote:
Warning: main(mainfile.php): failed to open stream: No such file or directory in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 262

Fatal error: main(): Failed opening required 'mainfile.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d123767094/htdocs/vbfiles/gallery/header-inc.php on line 262
is the "mainfile.php" supposed to be something else related to vbportal?
I appreciate all the help
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 06:58 PM   #14 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
Quote:
Originally Posted by Chuck S
Well I am going to assume by your error your vb path is this

Code:
Content visible to verified customers only.

yes

/forums = for the vb forum and cmps
and /gallery for photopost
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 07:02 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
As long as you place the proper forum path in the config-int.php you do not need to hack header-inc.php as you would be setting $vbpath in the config-int.php

Code:
Content visible to verified customers only.
__________________
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 26th, 2006, 07:20 PM   #16 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
but it is throwing those errors.


I have no idea what is going on now.

I change the file to the correct one in the config file and get the header-inc errors. I add the link to line 60 and then line 262 (mainfile.php) whatever that is throws errors...I'm loosing this battle!!

I turned off vb2 and for a second it worked...why I don't know
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 07:24 PM   #17 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
here is the entire header-inc.php file. Perhaps you'll see where I'm going wrong. if you want to see the config.php file I can post it as well



Code:
Content visible to verified customers only.
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 07:36 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
I already stated where your going wrong. First off you only turn the vb3 options on. You do not turn vbportal 2 or vb2 on as your not running them. That is only for those products. Your using vb3

You must upload a clean header-inc.php file and make sure the server path to your forum is entered correctly in the $vbpath line in config-int.php
__________________
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 26th, 2006, 08:02 PM   #19 (permalink)
Member
 
Join Date: Mar 2006
Posts: 88
please bare with me..I'm working beyond my knowledge levels here.

Just to confirm then the vbpath is to the vb3 forum right not the gallery/forum files?
RCHobbies is offline   Reply With Quote
Old March 26th, 2006, 08:14 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Yes that is correct
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade error: header-inc.php on line 11 snoopy5 Classifieds Installation & Upgrades 3 February 15th, 2006 08:22 AM
vB3 integration - Error on header-inc.php SuperGLS Photopost Pro Installation & Upgrades 4 February 11th, 2006 11:23 AM
error in header-inc.php derision ReviewPost Installation & Upgrades 1 January 12th, 2006 09:11 PM
Blank Page after uncommeting header-inc.php prof3ta Photopost Pro Installation & Upgrades 6 January 31st, 2005 03:39 PM


All times are GMT -5. The time now is 06:36 AM.

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