FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Warning: Invalid argument supplied for foreach (RESOLVED) (when attempting to edit newly installed themes)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon6.gif  Re: Warning: Invalid argument supplied for foreach [message #159878 is a reply to message #159876] Thu, 02 July 2009 21:46 Go to previous messageGo to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma:
Senior Member
OK I have reproduced the error. This is what I have done so far step by step.

Uninstall questionable themes:

1. Opened FTP and download questionable themes to file "Problem childs" from FUDforum/thm/Theme_names as a save folder to reproduce problem if needed.

Beaujolais_default Contains 1 tmpl, and 2 images
forestgreen_default 8 templs, 18 images
penguin_default 3templs, 83 images
dark_default 1 tmpl, 29 images
concord_default 3tmpls, 18 images
black_default 3tmpls, 122 images

2. Forum>admincp>thememgr DELETE
Beaujolais_default
penguin_default
dark_default
black_default
concord_default
forestgreen_default

Rebuild all themes!

3. open FTP and delete FUDforum/thm/
Beaujolais_default
penguin_default
dark_default
black_default
concord_default
forestgreen_default
close FTP

4. Open forum, clear cache, rebuild themes (all gone), compact messages, consistency check....0 error msgs, All ok logout, close.

DONE WITH UNINSTALL

REINSTALL THEMES:

1. open FTP, FUDforum/thm upload themes from theme archive files (unzipped),
Using original theme files
Beaujolais_default
penguin_default
dark_default
black_default
concord_default
forestgreen_default
Close FTP



2. open forum, Forum>admincp>thememgr
(all 6 listed in theme mgr as template sets)
add: as enabled
Beaujolais_default
penguin_default
dark_default
black_default
concord_default
forestgreen_default

Rebuild all themes

Rebuilding theme default (english)...
Rebuilding theme Beaujolais_default (english)...
Rebuilding theme penguin_default (english)...
Rebuilding theme dark_default (english)...
Rebuilding theme black_default (english)...
Rebuilding theme concord_default (english)...
Rebuilding theme forestgreen_default (english)...

>Template editor> ERROR REPRODUCED!
Only forestgreen_default is unaffected

3. installed northernlights, same way, when attempting to create theme get this error:

Undefined template: "postcheck_no_links_allowed" inside "register.php.t"

(this is one I know) Delete>register.tmpl from theme (also deleted from archive, which I should have done the 1st time)

Create theme northernlights rebuild all themes.

Rebuilding theme default (english)...
Rebuilding theme Beaujolais_default (english)...
Rebuilding theme penguin_default (english)...
Rebuilding theme dark_default (english)...
Rebuilding theme black_default (english)...
Rebuilding theme concord_default (english)...
Rebuilding theme forestgreen_default (english)...
Rebuilding theme northernlights (english)...

>template editor northernlights....OK!
My next step will be to uninstall just those that get an error, then reinstall them one at a time and check again.

Possible cause from my view is that dark, penguin, and black were all built on previous versions of FUD, but that does not explain concord or Beaujolais!

I believe my installation procedure was correct, and I don't believe any changes were made to themes otherwise except for adding some of the new buttons I have been working on, but I presume that would affect northern lights and forest green as well since they use the same button sets.





"I'm a Witcher, I solve human problems; not always using a sword!"
[Message index]
 
Read Message
Read Message
Read Message icon6.gif
Read Message icon6.gif
Read Message
Read Message
Read Message icon6.gif
Previous Topic: Umlaut issue with 2.7.7 on Fedora 8 with UTF-8 (resolved)
Next Topic: collapse and expand buttons no longer available after restoring data dump!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 05:49:38 GMT 2024

Total time taken to generate the page: 0.04855 seconds