 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
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 ?
|
| |
February 29th, 2004, 06:48 PM
|
#2 (permalink)
| | Guest |
It only happens when you use the header-inc.php?
Is the $pppath set correctly in header-inc?
| |
| |
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 .
|
| |
February 29th, 2004, 08:14 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
February 29th, 2004, 08:38 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
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 =(
|
| |
February 29th, 2004, 08:53 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
February 29th, 2004, 09:15 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2004
Posts: 25
|
Its sent.
|
| |
February 29th, 2004, 09:25 PM
|
#10 (permalink)
| | Guest |
also, what PHP version is your server running? Got a phpinfo() we can see?
| |
| |
February 29th, 2004, 09:36 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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()
?>
|
| |
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 ?
|
| |
March 1st, 2004, 09:40 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
March 1st, 2004, 10:59 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2004
Posts: 25
|
on its way
|
| |
March 2nd, 2004, 09:30 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
March 2nd, 2004, 09:59 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
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";
|
| |
March 2nd, 2004, 10:05 AM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2004
Posts: 25
|
well that was a bust =(
|
| |
March 2nd, 2004, 10:07 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
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.
|
| | |
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 12:09 PM. | |