 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 13th, 2004, 03:12 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
| Problems after 4.8d upgrade ...
I upgraded to the latest version, ran upgrade47 and am now getting the message, maybe I am missing something very simple ... but here it is:
Warning: main(/home/sites/yoursite/photopost/languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/tvphotog/public_html/pp-inc.php on line 20
Fatal error: main(): Failed opening required '/home/sites/yoursite/photopost/languages/english/pp-inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tvphotog/public_html/pp-inc.php on line 20
Any help would be greatly appreciated!
Regards,
Stephen
|
| |
July 13th, 2004, 03:17 PM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,736
|
Read the error message...
Warning: main(/home/sites/yoursite/photopost/languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/tvphotog/public_html/pp-inc.php on line 20
Your $PP_PATH variable isn't set properly.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 13th, 2004, 03:24 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
|
I originally noticed that, so I checked the config-inc file ... I don't know what happened, I am now getting this message:
Warning: main(/languages/english/index.php): failed to open stream: No such file or directory in /home/tvphotog/public_html/index.php on line 30
Fatal error: main(): Failed opening required '/languages/english/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tvphotog/public_html/index.php on line 30
I checked the config-inc file, and the setting seems to be right:
// Language
// This needs to be set to the name of the directory used inside of the languages directory
$pplang = "english";
What could be wrong?
Last edited by StephenStong; July 13th, 2004 at 03:48 PM.
|
| |
July 13th, 2004, 03:32 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,667
|
Your $PP_PATH should have this in it
/home/tvphotog/public_html
There should be no other files to check $PP_PATH is a variable set throughout the program and is in the config-inc.php
This is directly out of a brand new config file in the distribution
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/sites/yoursite/photopost";
|
| |
July 13th, 2004, 03:34 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
|
Thanks; I was able to fix that problem ... now I am having the above issue.
|
| |
July 13th, 2004, 05:11 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,667
|
If your pp_path is correct next see that you actually uploaded the language files
Although to me it just looks like you cleared the pp_path entry to nothing instead of setting it to the server path I posted above
|
| |
July 13th, 2004, 05:21 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
|
The language files are there ... give me some credit please
I tried deleting them and uploading them with no sucess. I have checked the config-inc.php file and it says:
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/tvphotog/public_html";
Which would appear to be right, so I am lost for ideas.
|
| |
July 13th, 2004, 05:31 PM
|
#8 (permalink)
| | Registered User
Join Date: Jul 2004
Posts: 7
|
That could be a permissions issue..I had a similar problem and had to chmod the language folders for it to work.
|
| |
July 13th, 2004, 05:40 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,667
|
Stephen
This is what your error is
Warning: main(/languages/english/index.php): failed to open stream: No such file or directory in /home/tvphotog/public_html/index.php on line 30
Fatal error: main(): Failed opening required '/languages/english/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tvphotog/public_html/index.php on line 30
if indeed the pp_path was right I would figure it would show exactly as your above error on the first post with a path there
Warning: main(/home/tvphotog/public_html/languages/english/index.php): failed to open stream: No such file or directory in /home/tvphotog/public_html/index.php on line 30
Fatal error: main(): Failed opening required '/home/tvphotog/public_html/languages/english/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tvphotog/public_html/index.php on line 30
HOWEVER IT DOES NOT. SO FROM THE ERROR YOU POSTED IT LOOKED LIKE YOUR PP_PATH IS SET TO NOTHING. This is why I told you to recheck it. There should be a path statement in front of the language include here is the line from the index.php
require "{$Globals['PP_PATH']}/languages/$pplang/index.php";
So the only way you would get the error you posted above is by having an empty $PP_PATH in the config file.
|
| |
July 13th, 2004, 05:45 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
|
Chuck,
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/tvphotog/public_html";
That is copied and pasted from the file on my webserver, so it clearly is not blank. When I changed the path from being wrong to being right, that did change the error message, but did not resolve the problem.
I don't know what you want me to say, I didn't change or make edits to any of the other files and remove lines or anything.
I have no idea why this isn't working.
|
| |
July 13th, 2004, 05:49 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
|
I found the line in index.php full intact:
require "{$Globals['PP_PATH']}/languages/$pplang/index.php"
I attempted to rename it to
require "{$Globals['PP_PATH']}/languages/english/index.php" and even
require "http://www.tvphotogalleries.com/languages/english/index.php"
They don't do the trick.
Chuck -- If I could give you the FTP username and password to my site and you could take a quick look at the files I would really appreciate it.
Thanks, Steve
Last edited by StephenStong; July 13th, 2004 at 06:33 PM.
|
| |
July 13th, 2004, 11:24 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,667
|
Steve
We are not allowed to FTP to a person's server but you can PM me an admin login and url to your install though and I will see if there is anything noticable out of place. Also include phpinfo link
|
| |
July 14th, 2004, 09:01 AM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003 Location: Massachusetts
Posts: 16
|
After I deleted all the files and reuploaded them it resolved the problem. Who knows what the heck happened, I am just glad it's finally back up.
|
| | |
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 04:08 PM. | |