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 February 29th, 2004, 01:58 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
head_inc.php problem

Im adding the head_inc.php file with vb3 rc4. and pp 4.7.

The problem is im getting this error when i try to do it.

Warning: main(languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/site/main/gallery/pp-inc.php on line 50

Fatal error: main(): Failed opening required 'languages/english/pp-inc.php' (include_path='') in /home/site/main/gallery/pp-inc.php on line 50


Any ideas and specific fixes ?
croft is offline   Reply With Quote
Old February 29th, 2004, 06:48 PM   #2 (permalink)
donb
Guest
 
Posts: n/a
It only happens when you use the header-inc.php?

Is the $pppath set correctly in header-inc?
  Reply With Quote
Old February 29th, 2004, 07:57 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
yes the path is correct for both vbulletin3 and pp .
croft is offline   Reply With Quote
Old February 29th, 2004, 08:14 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Is this the path to your pp-inc.php file?

/home/site/main/gallery/pp-inc.php

Thats what it is saying above
Chuck S is offline   Reply With Quote
Old February 29th, 2004, 08:25 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
I changed the path on this post. But its correct path.
croft is offline   Reply With Quote
Old February 29th, 2004, 08:38 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Okay well if your path is indeed correct then what it is saying is it can not find your language file. When someone posts a path like that the first responce you are always going to get is is your path correct.

Did you upload the language directories.

Does languages/english/pp-inc.php exist?
Chuck S is offline   Reply With Quote
Old February 29th, 2004, 08:43 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
yes its there and i checked all the other files in pp to just to se if i missed anyone when uploading but they are all there =(
croft is offline   Reply With Quote
Old February 29th, 2004, 08:53 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
So photopost works fine without the header-inc but when you use it you get that error? CORRECT

The only thing I can say is that you need to double check the path in the header inc.

You can PM the me paths if you want or send me your header-inc and config file with mysql info stripped to chuck@photopost.com


Last edited by Chuck S; February 29th, 2004 at 08:56 PM.
Chuck S is offline   Reply With Quote
Old February 29th, 2004, 09:15 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
Its sent.
croft is offline   Reply With Quote
Old February 29th, 2004, 09:25 PM   #10 (permalink)
donb
Guest
 
Posts: n/a
also, what PHP version is your server running? Got a phpinfo() we can see?
  Reply With Quote
Old February 29th, 2004, 09:36 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Yep next question Don just asked

If you do not have one you can create a file and make the contents

<?
phpinfo()
?>
Chuck S is offline   Reply With Quote
Old March 1st, 2004, 09:21 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
I sent you a link with the php info omegatron.
And you have my config file and headin file.

Any ideas or have i just missed the most basic thing ever ?
croft is offline   Reply With Quote
Old March 1st, 2004, 09:40 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Send link with admin account so I can triple check path but I saw nothing out of the ordinary

Yet with the new versions of php we are seeing more and more openbasedir bugs where template files are not being found this could be a variation but lets take this one step at a time.
Chuck S is offline   Reply With Quote
Old March 1st, 2004, 10:59 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
on its way
croft is offline   Reply With Quote
Old March 2nd, 2004, 09:30 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Ulric,

I used the supplied login info. I can tell you I get no errors either in Mozilla or IE on your photopost site

Now I do get a parse error on your forums on line 24 of inc.photopost.php which is a hack not part of the photopost program.

Line 24 of that hack is this

// If your table has a prefix, put it here
$pp_db_prefix = "pp_";


So I would look at the prefix line or any of the path lines above to see you did not leave off any quotes or semi-colons from the end of lines
Chuck S is offline   Reply With Quote
Old March 2nd, 2004, 09:52 AM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
Well i suggest you go to my gallery again and have a look then.
and the prefix is correct.

http://host74.ipowerweb.com/~arctic-r/gallery

I suggest anyone to go there and have a peak at it =)

I added the inc_photopost.php after i got this error.
croft is offline   Reply With Quote
Old March 2nd, 2004, 09:59 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Now it is there.


I viewed your site for at least 15 minutes or more this morning in both browsers and you were fine.

Lets try something as we are seeing more and more php sites with that openbasedirectory bug

in pp-inc.php

change this line

require "languages/$pplang/pp-inc.php";

to this

require "gallery/languages/$pplang/pp-inc.php";
Chuck S is offline   Reply With Quote
Old March 2nd, 2004, 10:05 AM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
well that was a bust =(
croft is offline   Reply With Quote
Old March 2nd, 2004, 10:07 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Okay try placing the full path to that file there.

I will ask this again but photoposts runs without the header-inc just fine right? as in the language file is uploaded and exists?
Chuck S is offline   Reply With Quote
Old March 2nd, 2004, 10:08 AM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 25
It runs beutifull without this file =) and all files are uploaded.
croft 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
Problem with install.php jwhance Photopost Pro Installation & Upgrades 12 March 15th, 2005 01:48 PM
Any problem with renaming showproduct.php? Lee Wilde Classifieds Installation & Upgrades 0 December 28th, 2004 09:36 PM
Problem with showproduct.php and showcat.php jed423 Classifieds Bug Reports 4 November 14th, 2004 10:48 AM
header-inc.php problem Sflairsoft.com ReviewPost Installation & Upgrades 4 August 5th, 2004 12:53 AM
PHP Mail Problem jkhm16819 Photopost Pro Installation & Upgrades 10 July 14th, 2004 02:48 PM


All times are GMT -5. The time now is 12:09 PM.

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