Codoforum related discussions
Forum page not loading

After installing Codoforum, the front facing (index) pages don't load at all. I get the message: "This web page is not available".

The admin interface however loads fine without issues.

Guessing the issue could be with loading Smarty. If I comment out the following line in 'routes.php':

CODOF\Smarty\Layout::load($forum->view, $forum->css_files, $forum->js_files);

I get a blank page at least.

I'm using PHP 5.4.12 and MySQL 5.0 on Apache 2.4 web server. Codoforum version - codoforum.v.3.2.1.build-12

Has anyone else expereienced this issue? Thanks for your help.

After installing Codoforum, the front facing (index) pages don't load at all. I get the message: "This web page is not available". The admin interface however loads fine without issues. Guessing the issue could be with loading Smarty. If I comment out the following line in 'routes.php': ```` CODOF\Smarty\Layout::load($forum->view, $forum->css_files, $forum->js_files); ```` I get a blank page at least. I'm using PHP 5.4.12 and MySQL 5.0 on Apache 2.4 web server. Codoforum version - codoforum.v.3.2.1.build-12 Has anyone else expereienced this issue? Thanks for your help.
edited Mar 27 '15 at 9:29 pm

So, I've been digging further into the 'load' method in

sys\CODOF\Smarty\Layout.php

and the issue appears to be with the 'dumpCSS()' method.

When I comment out the code below:

$page["head"]["css"] = $asset->dumpCSS();

I can get the view, although without CSS

So, I've been digging further into the 'load' method in ```` sys\CODOF\Smarty\Layout.php ```` and the issue appears to be with the 'dumpCSS()' method. When I comment out the code below: ```` $page["head"]["css"] = $asset->dumpCSS(); ```` I can get the view, although without CSS

Did some further digging and noticed that for some reason, the css minifier wasn't working, which didn't allow the page load.

When I go into:

sys\CODOF\Asset\Stream.php

and comment out:

$contents = \Ext\CSSmin::process($contents);

the forum finally loads - with unminified css

Did some further digging and noticed that for some reason, the css minifier wasn't working, which didn't allow the page load. When I go into: ```` sys\CODOF\Asset\Stream.php ```` and comment out: ```` $contents = \Ext\CSSmin::process($contents); ```` the forum finally loads - with unminified css

Hi,

It's great that you were able to find out the problem yourself.

Can you check your server error log files for any recent codoforum PHP errors ?

Hi, It's great that you were able to find out the problem yourself. Can you check your server error log files for any recent codoforum PHP errors ?
206
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft