Seemingly random errors popping up all over the place :p

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

Locked
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Seemingly random errors popping up all over the place :p

Post by hotchips »

Code: Select all

 Fatal error: Cannot redeclare attach_faq_include() (previously declared in /home/www/renmarkhockeyclub.com/forums/attach_mod/includes/functions_includes.php:18) in /home/www/renmarkhockeyclub.com/forums/attach_mod/includes/functions_includes.php on line 18 

I did the common.php upgrade (:oops: cant believe I missed the first file in the install text...) and added the functions.php line back in, but now I get the above error message.
Isn't this referencing the same line of the same file?

This just doesn't seem to be my day...

(This is a carbon copy of my post at http://www.phpbb.com/phpBB/viewtopic.ph ... tart=19095)
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Like Brf said over at phpBB.com....you've most likely done the common.php edit twice now.
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Post by hotchips »

And yet somehow, even more start appearing...
I must have been really tired when I did this mod, because surely it wouldn't throw up this many error had I done it right... Never mind, I need this mod.

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/www/renmarkhockeyclub.com/forums/includes/functions.php:1) in /home/www/renmarkhockeyclub.com/forums/includes/sessions.php on line 254

Warning: Cannot modify header information - headers already sent by (output started at /home/www/renmarkhockeyclub.com/forums/includes/functions.php:1) in /home/www/renmarkhockeyclub.com/forums/includes/sessions.php on line 255

Warning: Cannot modify header information - headers already sent by (output started at /home/www/renmarkhockeyclub.com/forums/includes/functions.php:1) in /home/www/renmarkhockeyclub.com/forums/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /home/www/renmarkhockeyclub.com/forums/includes/functions.php:1) in /home/www/renmarkhockeyclub.com/forums/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/www/renmarkhockeyclub.com/forums/includes/functions.php:1) in /home/www/renmarkhockeyclub.com/forums/includes/page_header.php on line 486
I don't know why this would appear now, and I sure as hell don't know enough to fix it... Ummmm... It would be really nice if you could help me again. (This is annoying me, as it probably is you, sorry!)
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

If that's coming up when you try to upload a file then all you need to do is set the permissions of the files and thumbs directory to 777.
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Post by hotchips »

I'm fairly sure it is (I'll check anyway), but this comes up on the index page of the forum whenever I (or anyone else) visits the site, and it doesn't require me to be logged in.

Edit: I thought my host automatically set it to 777, but is 755. I'll tell you if this changes anything.
Last edited by hotchips on Mon Jan 15, 2007 7:53 pm, edited 1 time in total.
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Try posting your common.php and functions.php files in a zip file.
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Post by hotchips »

Okay, changing the folders permissions to 777 didn't work so here goes:
Attachments
commonandfunctions.zip
Very imaginative name I know.
(10.36 KiB) Downloaded 364 times
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Both files look fine though the first line in the functions.php file needs to be fixed up a bit. What's the link to your forum?
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Post by hotchips »

renmarkhockeyclub.com it'll redirect to the forum.
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Hmmm...all I can tell you is that the first line on your functions.php needs to be corrected (weirder things have caused forums to have issues). I noticed you have other mods installed. Did you install other mods at the same time as this one?
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Post by hotchips »

No mods were installed at the same time as this one (last one was about a month ago), and they've worked well in my tests until now (you'll notice the forum is kind of dead, it's seasonal!) I'll fix the first line of functions.php then, and report back.
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
hotchips
Posts: 7
Joined: Sun Jan 14, 2007 1:50 am

Post by hotchips »

Ha ha, It worked! Thanks for all the help you have given me with this mod. Sorry if I've been a bit of a pain, I just hope nothing else goes wrong!
Do you fly, whilst being purple and hippoish? This is your temple. http://www.fphclan.com
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Glad I could help :wink:
Locked