Page 1 of 1

Error with fresh instal of 1.4.0

PostPosted: Fri Apr 28, 2006 9:15 pm
Author: spaniel
hi there,

i've just done a new/fresh instal of 1.4.0 and i get this rather lengthy error msg when i got to the install.php link.

Code: Select all
Warning: main(./.././includes/functions_categories_hierarchy.php): failed to open stream: No such file or directory in /home/.qettahwasher/www/members/includes/functions.php on line 25  Warning: main(): Failed opening './.././includes/functions_categories_hierarchy.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.qettahwasher/www/members/includes/functions.php on line 25  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1101  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1102  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1103  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1104  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1105  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1106  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1107  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1108  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1109  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1110  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1111  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1112  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1113  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1114  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1115  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1116  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1117  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1118  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1119  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1120  Warning: Cannot modify header information - headers already sent by (output started at /home/.qettahwasher/www/members/includes/functions.php:25) in /home/.qettahwasher/www/members/install/install.php on line 1121



As i dont know the first thing about php, i dont know where to begin. I've uploaded 1.4.0. twice and chmoded the files as instructed, but twice got the above error message(s)!

can anyone help?

PostPosted: Fri Apr 28, 2006 10:19 pm
Author: Bush
What version of SQL and PHP is the server running that your hosted on?

Re: Error with fresh instal of 1.4.0

PostPosted: Fri Apr 28, 2006 11:12 pm
Author: Helter
you need to replace your install directory.
The error your getting means there is info after the close php ?> , or it is missing

Header already sent
Any text (including blank lines) placed after ?> at the end of a page will result in 'Header already sent'

PostPosted: Sun Apr 30, 2006 6:44 am
Author: spaniel
but how did anything get beyond the ?> line? I downloaded the package from this website and uploaded the files. I didnt open or alter any files.

Curiouser and curiouser!

PostPosted: Sun Apr 30, 2006 6:59 am
Author: spaniel
I found a break under the ?> in the install.php file, which i've now removed, and I still get the same error message.

PostPosted: Sun Apr 30, 2006 4:51 pm
Author: spaniel
my webhost is Dreamhost.com - they support both php 4 and php 5 and the sql version is:

MySQL - 5.0.18-standard-log

However, i havent added anything to the database yet; i've only gone to the install/install.php and found that long list of errors.

Re: Error with fresh instal of 1.4.0

PostPosted: Sun Apr 30, 2006 4:56 pm
Author: evolution21
at least you find errors..i find a blank page...need help...

PostPosted: Sun Apr 30, 2006 5:06 pm
Author: spaniel
PROBLEM SOLVED!

In the download from this site the file
includes/functions_categories_hierarchy.php

doesnt hav the .php extension.

I've corrected this error on my install and it works now.

evolution21, check your .php file extensions, chmod, and that the ?> is the very last line in the .php files.

Re: Error with fresh instal of 1.4.0

PostPosted: Mon May 01, 2006 4:31 am
Author: evolution21
ok ill try that <img>

Re: Error with fresh instal of 1.4.0

PostPosted: Mon May 01, 2006 4:46 am
Author: evolution21
what should be the CHMOD for the install folder and install.php?

PostPosted: Mon May 01, 2006 5:14 am
Author: Adrian Rea
Correct chmods for the whole packaged are
CHMOD Setting Directory or file name
777 album_mod/upload
777 album_mod/upload/cache
777 backup
777 cache
777 files
777 files/thumbs
777 images/avatars
777 images/smiles
777 includes/cache_tpls
666 includes/def_auth.php
666 includes/def_icons.php
666 includes/def_qbar.php
666 includes/def_themes.php
666 includes/def_tree.php
666 includes/def_words.php
666 includes/phpbb_security.php
666 language/lang_xxxxxx/lang_contact_faq.php
666 language/lang_xxxxxx/lang_extend_xxxxxx.php
666 language/lang_xxxxxx/lang_faq.php
666 language/lang_xxxxxx/lang_faq_attach.php
666 language/lang_xxxxxx/lang_prillian_faq.php
777 modules
777 modules/cache
777 modules/cache/explain
777 pafiledb/cache
666 pafiledb/cache/data_global.php
777 pafiledb/cache/templates
777 pafiledb/cache/templates/XXXXXX
777 pafiledb/cache/templates/XXXXXX/admin
777 pafiledb/images/screenshots
777 pafiledb/uploads
666 profilcp/functions_profile.php
777 profilcp/def
666 profilcp/def/def_userxxxxxx.php
666 templates/xxxxxx/sub_templates.cfg
777 var_cache
666 config.php

the install files only need to be 644 or 664 and the folder 755.

I can only guess that spaniel's files were corrupted as this is the first instance of it's kind.

A

Re: Error with fresh instal of 1.4.0

PostPosted: Mon May 01, 2006 5:51 am
Author: evolution21
i changed the CHMOD for all files and still a blank page, im going to upload it again...

PostPosted: Mon May 01, 2006 7:11 am
Author: spaniel
the question is how did the files become corrupted? i downloaded the package from this website, unzipped it and uploaded it to my server.

PostPosted: Mon May 01, 2006 7:15 am
Author: Adrian Rea
I will check later if the download is corrupted, by unzipping it on a server. Unzipping at home and uploading all files is normally the root of the corruption.

A

PostPosted: Mon May 01, 2006 8:44 am
Author: Jason Sanborn
Evolution: What version of PHP are you running?

PostPosted: Mon May 01, 2006 2:19 pm
Author: spaniel
Thanks Adrian - i uploaded all the files myself using an ftp program because i dont know how to use the unix thing of unzipping the download on the server itself.

i'm on a mac and dare not touch anything!! (bad memories of the pc days...)

thanks for all your help tho. at least intergramod has fantastic support.

PostPosted: Mon May 01, 2006 3:20 pm
Author: spaniel
Also it might be a good idea to check the update files as well as i think these problems started when i tried to update from 2.0.17 to 2.0.20.

many thanks

Dan

PostPosted: Mon May 01, 2006 3:33 pm
Author: Adrian Rea
"spaniel";p="3972" wrote:Thanks Adrian - i uploaded all the files myself using an ftp program because i dont know how to use the unix thing of unzipping the download on the server itself.

i'm on a mac and dare not touch anything!! (bad memories of the pc days...)

thanks for all your help tho. at least intergramod has fantastic support.
Pleasure spaniel <img>

The unzipping on the server normally depends on the type of hosting package you have, not the computer you have at home. If, like it suggests in the install guide, you have something like CPanel, then you can use your hosts file manager program to unzip the site on the server. What sort of hosting do you have? Is it self built or do you have some sort of control panel interface?

A

PostPosted: Mon May 01, 2006 4:15 pm
Author: spaniel
I use Dreamhost.com so i hav to ftp files using an ftp program. This time tho I decided to use the other option of uploading the .zip file and decompressing it using Telnet/SSH.

It took less than 3 minutes to do so and everything is running smoothly. However, it's now asking me to update from 2.0.17 to 2.0.20 which i'm reluctant to do because I think that's where it all started to go wrong.

Your installation does not seem to be up to date. Updates are available for your version of phpBB, please visit http://www.phpbb.com/downloads.php to obtain the latest version.
The latest available version is phpBB 2.0.20.You are running phpBB 2.0.17.


The website that taught me how to unzip the .zip file using SSH was
http://www.jiffynet.net/faqs/sshcommands.html
and I used the SSH program Terminal which comes as standard on a Mac.

Now tho, i'm just reluctant to upgrade to 2.0.20, what should I do?