 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 14th, 2004, 06:38 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
| ./includes/init.php Error
I am getting an error that states:
Warning: chdir(): No such file or directory (errno 2) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/header-inc.php on line 38
Warning: main(./includes/init.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/forums/global.php on line 18
Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/forums/global.php on line 18
Where the header-inc.php exists, it says its not, then error for 2 and 3 the second warning says that I need an init.php file, I don't even have one listed, where does that come from??
Is this in the package some place, or a vbulletin thing?
Any help would greatly be appreciated!
Pinpoint
|
| |
July 14th, 2004, 06:53 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
Looks to me like you did not fill out the proper VB path in the header include
|
| |
July 14th, 2004, 07:37 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
Well the intresting thing is I never put in the HTTPDOCS part, its doing that, and saying it does not exist.. How do I change this?
|
| |
July 14th, 2004, 07:41 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
What do you have listed in the header include as the vbpath and pppath
/usr/local/psa/home/vhosts/2rhh.com/httpdocs/forums
/usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost
|
| |
July 14th, 2004, 07:51 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
Ah.. Ok.. Yes, I did have that however the little //Change me (at the end of the line in the instructions) was not removed. I just removed that and all is well now.
It seems to be working! Whoohoo!
Grrrr.. Now I am getting this Error! (Damn)
Warning: file_exists(): open_basedir restriction in effect. File(photopost.sql) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/install.php on line 272
photopost.sql is missing. Please restart with file in same directory as install.php
however the photopost.sql file is there does this need to be CHMODed to somthing?
Pinpoint
|
| |
July 14th, 2004, 08:00 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
Did you enter the PP_PATH in the first page of the install?
|
| |
July 14th, 2004, 08:03 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
You can try changing these lines in the install.php
if ( file_exists( "photopost.sql") ) {
$filearray = file( "photopost.sql" );
to this
if ( file_exists( "/usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/photopost.sql") ) {
$filearray = file( "/usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/photopost.sql" );
|
| |
July 14th, 2004, 08:18 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
There that did the trick! Many thanks!! Were now installed..
Now to figure out how to do the Style implementation. |
| |
July 14th, 2004, 08:26 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
Hmm I stand corrected now.. LMAO
Now I get these errors at the top of my page!
Warning: is_dir(): open_basedir restriction in effect. File(stylesheets/default) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/pp-inc.php on line 120
Warning: file_exists(): open_basedir restriction in effect. File(globals-over.inc) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/pp-inc.php on line 128
Warning: file_exists(): open_basedir restriction in effect. File(install.php) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/index.php on line 32
Warning: file_exists(): open_basedir restriction in effect. File(install.php) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/index.php on line 32
Warning: file_exists(): open_basedir restriction in effect. File(/path/to/php/headtags.htm) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/pp-inc.php on line 258
|
| |
July 14th, 2004, 08:30 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
And to top that off, I can't get into my ADMIN contol page! Wow..
|
| |
July 14th, 2004, 08:46 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
What is the $PP_PATH variable set to in the config-inc.php file
it should be this
$PP_PATH = "/usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost";
you most likely have it empty. With your server having openbase_dir set you can not leave this empty.
As far as the admin login view the usergroups table for Photopost and make sure the Administrators entry is groupid 6 and cpaccess is set to 1. You also have to make sure your cookies are set between both products.
|
| |
July 14th, 2004, 08:52 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
Ok, did that all over agian, now, I can't get logged in as the ADMIN. I did the Login clear cookies thing, and I only got my Style to over lay, and a boat load of errors showing up top.
Warning: is_dir(): open_basedir restriction in effect. File(stylesheets/default) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/pp-inc.php on line 120
Warning: file_exists(): open_basedir restriction in effect. File(globals-over.inc) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/pp-inc.php on line 128
Warning: file_exists(): open_basedir restriction in effect. File(install.php) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/index.php on line 32
Warning: file_exists(): open_basedir restriction in effect. File(install.php) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/index.php on line 32
Warning: file_exists(): open_basedir restriction in effect. File(/path/to/php/headtags.htm) is not within the allowed path(s): (/usr/local/psa/home/vhosts/2rhh.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost/pp-inc.php on line 258
Where would I change anything if I can't log into my adminCP center? Or did I mess somthing up in my paths??
Help
Pinpoint http://www.2rhh.com/photopost/index.php |
| |
July 14th, 2004, 08:53 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
Sorry I didnt see that you posted..
Yes its this:
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/usr/local/psa/home/vhosts/2rhh.com/httpdocs/photopost";
|
| |
July 14th, 2004, 08:59 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
I am unable to see the ADMIN section, I get the login screen then it allows me to enter the photopost as a standard user.
Man did I botch this up that bad??
|
| |
July 14th, 2004, 09:00 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
Well for one your server has openbase_dir set so in your database settings table for Photopost. view it via phpmyadmin
clear the header footer and headtags settings. /path/to/php/headtags.htm as an example
You need to also delete the install file.
Also in pp-inc.php you can delete this
// overrides; this is mostly for testing purposes
if ( file_exists("globals-over.inc") ) {
$filearray = file( "globals-over.inc" );
while ( list($num, $line) = each($filearray) ) {
if ($line != "") {
$vars = explode( "=", $line);
$var = $vars[0]; $set = $vars[1];
$Globals[$var] = trim($set);
}
}
}
Your host has you locked up. Try first getting Photopost displaying without the header-inc.php. Upload a clean one from the distribution
|
| |
July 14th, 2004, 09:18 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
Ok, edited the pp-inc.php as you indicated..
Reinstalled the entire script, and placed a fresh Header-inc.php page in.
I am still unable to remove the errors, and I am still unable to log in as the Admin.
Mucho thanks for the help thus far though!
Pin
|
| |
July 14th, 2004, 09:24 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2003
Posts: 22
|
As far as the phpMyAdmin, I am using a PLESK system that has phpMyAdmin 2.2.6 I have never used this before. So I am a total n00b on this part of the mysql databases.
Can you direct me to where this table change would be located at?
Pin
|
| |
July 14th, 2004, 11:17 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,751
|
PM me a link to see the errors on your install
The usergroups table for Photopost is in the database you setup. You need to go in their and check the admin line in the usergroups table and edit it to what I stated.
|
| | |
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:58 PM. | |