Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 10:43 am EST
Geeklog Forums
No HTML rendering, and PHP Warning:
Shawn Powers
Anonymous
Hello all,
I recently upgrading my webserver to Fedora Core 1, because I bunged it up royally while trying to get PHP4.3 on redhat 9...
Anyway, it was a full reinstall of the system, and I reinstalled geeklog 1.3.8, and restored my database. I thought all was working well -- but now I get no HTML formatting in my stories... Also, in the "editor" window on a story, I dont' even get the list of Allowed HTML Tags anymore. It's odd. Here's the error message on the top of an "edit story" window:
Warning: Invalid argument supplied for foreach() in
/var/www/www/public_html/lib-common.php on line 3663
and like I mentioned, further down, where there used to be a list of red text with the allowable HTML tags, it is simply this: (in red text)
Allowed HTML Tags:[code]
and that's it.
Any ideas what I did wrong, or how I can fix it? I did replace the lib-common.php in case of corruption (as per the installation instructions suggestion) but I'm at a loss now...
Thanks in advance,
-Shawn
spowers@inlandlakes.org
I recently upgrading my webserver to Fedora Core 1, because I bunged it up royally while trying to get PHP4.3 on redhat 9...
Anyway, it was a full reinstall of the system, and I reinstalled geeklog 1.3.8, and restored my database. I thought all was working well -- but now I get no HTML formatting in my stories... Also, in the "editor" window on a story, I dont' even get the list of Allowed HTML Tags anymore. It's odd. Here's the error message on the top of an "edit story" window:
Warning: Invalid argument supplied for foreach() in
/var/www/www/public_html/lib-common.php on line 3663
and like I mentioned, further down, where there used to be a list of red text with the allowable HTML tags, it is simply this: (in red text)
Allowed HTML Tags:[code]
and that's it.
Any ideas what I did wrong, or how I can fix it? I did replace the lib-common.php in case of corruption (as per the installation instructions suggestion) but I'm at a loss now...
Thanks in advance,
-Shawn
spowers@inlandlakes.org
5
6
Quote
Status: offline
exaurdon
Forum User
Regular Poster
Registered: 08/13/03
Posts: 107
Which version of 1.3.8 did you install? From the 1.3.8sr1 to the 1.3.8sr2 release, the system for specifying allowed html changed. These values are provided in your config.php file, so particularly if you reused your config.php file from your previous installation, this could be the problem. Look at a config.php file from 1.3.8sr2 or 1.3.8sr3 as an example of how allowed html tags must be specified.
Exaurdon
Exaurdon
6
5
Quote
Shawn Powers
Anonymous
Huh... I don't remember if I just copied over the config.php -- but I probably did.
I'll look at it now, and post my results back.
Thanks!
(BTW, I am using sr3, not sure which sr I had before I messed up my server)
I'll look at it now, and post my results back.
Thanks!
(BTW, I am using sr3, not sure which sr I had before I messed up my server)
5
5
Quote
Shawn Powers
Anonymous
Thank you VERY much. That was the problem. I must have just copied over the config.php, and it wasn't up to date.
Thanks again,
-Shawn
Thanks again,
-Shawn
6
6
Quote
All times are EST. The time is now 10:43 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content