Codoforum related discussions
SOLVED: Installation issues...

I am having a lot of installation issues. My web server is Apache, running on a Raspberry Pi.
PHP version: PHP 5.6.14-0+deb8u1

Apache version: 2.4.10 (Raspbian)

MySQL version: 14.14 Distrib 5.5.46, for debian-linux-gnu (armv7l) using readline 6.3

When I attempt to install, when I reach step 3, I get a Server Error : 500 error.

When I attempt to install AGAIN (the $installed variable does not change), I get the confirmation page. The backend opens, but when I try to open the front end, I get:

.clearfix { *zoom: 1; } .clearfix:before, .clearfix:after { display: table; content: ""; line-height: 0; } .clearfix:after { clear: both; } .hide-text { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; } .input-block-level { display: block; width: 100%; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; }
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/lessphp/lessc.inc.php on line 3589

I have also gotten some other errors (I have tried installation multiple times now, twice on Safari on Mac, once on Google Chrome on Mac, using different SFTP clients). I didn't copy them, but here is the gist of what they said:

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/CSSmin.php on line 150
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/CSSmin.php on line 69 (I think)
Fatal error: 2 errors with require(something) in them?
Sorry I didn't copy them down, I thought I would get the same errors...

To recap, when I install the first time, I get a 500 server error, and when I install the second time, I get one of the 4 errors listed above. Thank you for helping me! If you need any more information, just ask! Thanks!

I am having a lot of installation issues. My web server is Apache, running on a Raspberry Pi. PHP version: PHP 5.6.14-0+deb8u1 Apache version: 2.4.10 (Raspbian) MySQL version: 14.14 Distrib 5.5.46, for debian-linux-gnu (armv7l) using readline 6.3 When I attempt to install, when I reach step 3, I get a Server Error : 500 error. When I attempt to install AGAIN (the $installed variable does not change), I get the confirmation page. The backend opens, but when I try to open the front end, I get: > .clearfix { *zoom: 1; } .clearfix:before, .clearfix:after { display: table; content: ""; line-height: 0; } .clearfix:after { clear: both; } .hide-text { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; } .input-block-level { display: block; width: 100%; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; } Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/lessphp/lessc.inc.php on line 3589 I have also gotten some other errors (I have tried installation multiple times now, twice on Safari on Mac, once on Google Chrome on Mac, using different SFTP clients). I didn't copy them, but here is the gist of what they said: > Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/CSSmin.php on line 150 Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/CSSmin.php on line 69 (I think) Fatal error: 2 errors with require(something) in them? Sorry I didn't copy them down, I thought I would get the same errors... To recap, when I install the first time, I get a 500 server error, and when I install the second time, I get one of the 4 errors listed above. Thank you for helping me! If you need any more information, just ask! Thanks!
edited Dec 23 '15 at 9:09 pm

I just got this error when I went to /codoforum/index:

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/CSSmin.php on line 127

I just got this error when I went to /codoforum/index: > Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/codoforum/sys/Ext/CSSmin.php on line 127

I installed the forum at codengine.x10host.com/codoforum. It worked, which means that the problem is probably something with the raspberry pi (version, etc.). Do you have any ideas? Thanks!

I installed the forum at codengine.x10host.com/codoforum. It worked, which means that the problem is probably something with the raspberry pi (version, etc.). Do you have any ideas? Thanks!
edited Dec 22 '15 at 6:21 pm

It looks like the server is taking a lot of time to execute php giving the timeout error.

What you can do is try increasing the maximum execution time of php.

Try this:

Open codoforum/sys/Ext/CSSmin.php

At the top of the file

Replace

namespace Ext;

with

namespace Ext;

ini_set('max_execution_time', 300);
It looks like the server is taking a lot of time to execute php giving the timeout error. What you can do is try increasing the maximum execution time of php. Try this: Open codoforum/sys/Ext/CSSmin.php At the top of the file Replace ``` namespace Ext; ``` with ``` namespace Ext; ini_set('max_execution_time', 300); ```

@adesh1414127033 Changing the max_execution_time to 300 seconds in my php.ini file worked! Thank you so much! (I guess my server is just really slow...) smile

@adesh1414127033 Changing the max_execution_time to 300 seconds in my php.ini file worked! Thank you so much! (I guess my server is just really slow...) :)
edited Dec 23 '15 at 9:10 pm
350
4
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