phpBB empty admin or template fix: Warning: implode()

Reply Sun 21 Mar, 2004 06:19 pm
I saw people asking about this type of error on several phpbb boards. The answers provided to these people for the most part were simply not the solution.

Warning: implode() [function.implode]: Bad arguments. in /home/jazzcss/public_html/cruise/includes/template.php on line 265
Template->loadfile(): File /home/jazzcss/public_html/cruise/templates/subSilver/profile_avatar_gallery.tpl for handle body is empty

Having had a similar error this morning and having searched for an asnwer and failed to find one I decided to post what I found was my problem on the off chance that it helps others.

Check the file permissions. The problem for me was that the admin template files had, for some reason, become non readable for the "world" group.

CHMOD the template files as 755 (-rwxr-xr-x) and it should be fixed.

I hope this helps some unlucky soul as this was a frustrating problem for me, I'd not chmodded in error but the file permissions became incorrect somehow. With template caching some would not immediately discover what the error was and since the phpBB error is that the file is empty (as opposed to not being readable) it can get damn confusing.

  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 972 • Replies: 0
No top replies


Related Topics

In How much time a website can be developed? - Question by aussiejumpingcastle
Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
  1. Forums
  2. » phpBB empty admin or template fix: Warning: implode()
Copyright © 2021 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 06/16/2021 at 05:37:02