 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
January 19th, 2005, 04:03 PM
|
#1 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
| Errors after fresh install..
I've just did a fresh install and the database has been uploaded but I am still getting an error. Here it is: http://www.braveniuworld.com/gallery/
Error:
Warning: main(/var/www/html/gallery/languages/english/pp-inc.php): failed to open stream: No such file or directory in /var/www/html/gallery/pp-inc.php on line 69
Fatal error: main(): Failed opening required '/var/www/html/gallery/languages/english/pp-inc.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/gallery/pp-inc.php on line 69
Please help..
|
| |
January 19th, 2005, 06:13 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Your using VB3 right? or is this a standalone?
Here is this line in pp-inc.php
require "{$Globals['PP_PATH']}/languages/$pplang/pp-inc.php";
So look in your config-inc.php and find this and make sure it is exactly this
$PP_PATH="/var/www/html/gallery";
Basically your path statements to gallery and forum need to be absolutely correct in both the config-inc.php file and config-int.php files
Last edited by Chuck S; January 19th, 2005 at 06:36 PM.
|
| |
January 19th, 2005, 06:16 PM
|
#3 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
No I'm not using VB3, I just want to install photopost without anything else(forums)
|
| |
January 19th, 2005, 06:29 PM
|
#4 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
I have also just checked the file "pp-inc.php" and it does have:require "{$Globals['PP_PATH']}/languages/$pplang/pp-inc.php";
My "config-inc.php" also has $PP_PATH="var/www/html/gallery";
|
| |
January 19th, 2005, 06:36 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
thats suppose to be
$PP_PATH="/var/www/html/gallery";
|
| |
January 19th, 2005, 06:44 PM
|
#6 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
My config files does have it:
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/var/www/html/gallery";
Last edited by niu; January 19th, 2005 at 06:49 PM.
|
| |
January 19th, 2005, 07:12 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
No in your config-inc.php file thats what that line should read
|
| |
January 19th, 2005, 07:21 PM
|
#8 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
Yes thats what I meant, my config-inc.php file in the main directory has:
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/var/www/html/gallery";
I don't understand why it isn't working.
|
| |
January 19th, 2005, 07:25 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Are there any spaces before it?
What is the directory and file permissions on the languages directory and the file pp-inc.php?
The error makes no sense unless one of two things exist
1. the path statement is wrong
2. the file does not exist where it is looking
|
| |
January 19th, 2005, 07:34 PM
|
#10 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
It is all under www.braveniuworld.com/gallery and the permission are 644
I will email you my ftp login if it would help..
Last edited by niu; January 19th, 2005 at 07:37 PM.
|
| |
January 19th, 2005, 07:38 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Your telling me the permissions on the languages directory is 644?
If thats the case than thats why it cant find the files
Here is the installation doc with what directory permissions are suppose to be.
|
| |
January 20th, 2005, 05:42 PM
|
#12 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
I've just finished installing everything but after uploading an image, it gives me these two errors:
Warning: copy(/var/www/html/gallery/data500/1ann-thumb.jpg): failed to open stream: No such file or directory in /var/www/html/gallery/image-inc.php on line 266
Error creating thumbnail! Error code: 154
Command:
"/usr/X11R6/bin/mogrify" -size 100x75 -quality 70 -geometry 100x75 '/var/www/html/gallery/data500/1ann-thumb.jpg'
I can't seem to find the problem, can anyone please help
|
| |
January 20th, 2005, 05:51 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
In your admin global options in the virtual path to data directory the url add a / after the data
|
| |
January 20th, 2005, 09:25 PM
|
#14 (permalink)
| | Registered User
Join Date: Jan 2005
Posts: 12
|
Thanks, it works now. How come that isn't done by default rather than giving users an error? Unless I installed it incorrectly?
|
| | |
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:41 PM. | |