TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: BluePyth on December 22, 2006, 03:20:24 PM

Title: Error with Tiny Portal 0.97
Post by: BluePyth on December 22, 2006, 03:20:24 PM
Hi everybody ^^

I've been using SMF for quite a long time, but yesterday, I tried to install TinyPortal 0.97, so as to have a nice frontpage for my SMF 1.1.1 forum and I had a quite big problem : my forum doesn't function anymore.

In fact, I tried to install it on a local host, with no problems. But when I put it onto the scp server of my school (I'm a French student, and I'm going to create a forum for our school with SMF Wink ) at http://forum.ec-marseille.fr/forum1, I have a quite strange error :


Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 46080 bytes) in /users/guest/forum/html/forum1/Sources/Load.php(1733) : eval()'d code on line 91

I've modified the installation.php so as to have the forum install properly, because I think ssh is not supported (the folders were with 777 permission, but SMF didn't recognize it... :s)

I thought about a PHP parser error, but I don't know if I'm right...

I hope you have any idea please Smiley

Best Regards
Title: Re: Error with Tiny Portal 0.97
Post by: G6Cad on December 22, 2006, 03:22:03 PM
That is more likly a server configuration thats need to be changed. Cant say what though, but contact your server admin and ask him/her to help you out
Title: Re: Error with Tiny Portal 0.97
Post by: BluePyth on December 22, 2006, 10:01:58 PM
OK, thank you G6 ^^ And thank you for your french pack for Tinyportal ;)
Title: Re: Error with Tiny Portal 0.97
Post by: G6Cad on December 22, 2006, 10:24:33 PM
Im not the one that have made the french translation, i just uploaded the file to the download section here  ;)
Title: Re: Error with Tiny Portal 0.97
Post by: BluePyth on December 23, 2006, 01:52:19 AM
Oops, sorry ;)
Title: Re: Error with Tiny Portal 0.97
Post by: PowerPyx on December 30, 2006, 12:32:25 PM


<?php
phpinfo
();
?>



Put that code in a text file opend with an editor and save it as phpinfo.php
upload that file with ftp to your webspace
than call that file with domainname/phpinfo.php

check for the parameter "memory_limit"

maybe your webhoster has set this to a low value. also he might allow you to modify this. If yes, just create an php.ini with the following line in it:

memory_limit = xM

where x stands vor the value. Most webhosters allow 16 or 32 . if you have an own server (root or managed you can set a higher value)

then upload that file in the document root folder, finished. maybe you webhoster says something else about the place to put that file so you have to ask him.

Pyx
Title: Re: Error with Tiny Portal 0.97
Post by: BluePyth on December 30, 2006, 12:54:24 PM
Thank you Pyx ^^

I'll try it as soon as possible :)

And I'll tell you if it worked well ;)

Bye

BluePyth
Title: Re: Error with Tiny Portal 0.97
Post by: BluePyth on January 08, 2007, 06:55:44 AM
Pyx, I've found how to pass through the configuration, I've used a .htaccess file :

<FilesMatch "\.(php|html?)$">
php_value memory_limit 30M
</FilesMatch>


Thanks again !

Bye