| View previous topic :: View next topic |
| Author |
Message |
SJD
Joined: 18 Sep 2006 Posts: 3
|
Hi,
Firstly many thanks for script!
I have a couple of errors with the script - though I have seen the
first error before on another archive script so I think it's more
of general problem.
1) At the top of the page I get the following error:
Warning: main(album_mod/album_constants.) [function.main]: failed to open stream: No such file or directory in /home/httpdocs/includes/constants.php on line 29
I think the above relates to the album mod that I have installed on
my forum. Is there a way of getting around this??
2) When I click the categories on the archive script - a new page
is displayed with the topics listed. At the top of that page as
well as the above error I also get this one:
Warning: file_get_contents( /home/httpdocs/archive/adds/add1.htm) [function.file-get-contents]: failed to open stream: No such file or directory in /home/httpdocs/archive/index.php on line 271
Warning: file_get_contents( /home/httpdocs/archive/adds/add2.htm) [function.file-get-contents]: failed to open stream: No such file or directory in /home/httpdocs/archive/index.php on line 271
I have checked the paths and they are correct.
Any ideas as to where to look to resolve the above ??
Many thanks in advance.
Cheers
Steve |
| |
|
|
|
|
WarChild
Joined: 24 Feb 2006 Posts: 46
|
Hi, SJD
1. phpbb is at version 2.0.21 atm, so the archive script shall work with a vanilla version (no mods). This is a common practice to not support exotic setups, so I'd suggest you to try the archive script on a clean phpbb 2.0.21 installation.
The warning you see is probably related to your mod as the "album_mod/album_constants" part of it is suggesting. I think this is more an apache problem (my default Apache in Slackware 10.2 does not display warnings in the browser, but writes them to the log file instead). Playing a bit with the config files of Php and Apache might settle that.
2) If you actually have the files /home/httpdocs/archive/adds/add1.htm and /home/httpdocs/archive/adds/add2.htm (please check it one more time) and if you run an Unix flavor (some Linux or BSD for example), this might be a file permission problem. I could assume that you are seeing these files (if they exist) in a shell/ftp client beinng logged in with your user name, but the Apache daemon (which often runs as 'nobody') doesn't have read access to these files.
Best regards, WarChild |
| |
|
|
|
|