redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Saturday 17 November 2018 13:14

Ask your IT question here

Couple of Questions



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> phpBB Archive script support
View previous topic :: View next topic  
Author Message
SJD
New Programmer


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

Reply with quote
 
WarChild
Enthusiastic Coder


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

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> phpBB Archive script support


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo