TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:20:57 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 152
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 157
  • Total: 158
  • tino

Problem with index.php

Started by Veleno, March 14, 2006, 04:31:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

Veleno, make sure you have these lines in your httpd.conf

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps


If you don't have those, I'm pretty sure that is your problem.

crip

But without those would SMF work without TP?

IchBin

I'm not sure exactly how it works Crip. I think that sometimes uploading files to a server weither it be via SMF or FTP it can set the file type kind of screwy. If things are not set exactly right in the server it can have issues with certain files types. This is something you really would notice in the early days of Firefox. If the mime-types weren't set properly on servers for files, it would try to open them instead of display them. That's what makes me thing this is server related.

crip

OK..i do understand now.. it's like tyring to snatch someones Js.script, instead of opening it.. wants you to download it..i gotcha now.

Veleno

Hi guys ,

i founded the solution!!!

It wasn't a mime type problem, if so no one php file could be executed.

looking in the apache log files i founded a memory error! infact php has a 8mb memory limit for each script, so load.php , when smf is installed with portals, generates a out of memory error!!!

i put the limit to 16mb in php.ini , restarted web server and now all runs very well!!!

now i've only a little problem, i can't use any tp theme. Left and right bars appers only if i use the smf default theme.

any idea??

i thank you for helping me.

Bye,
Veleno

IchBin

Glad you found it! That is great news, and a good learning lesson for many. :)

Your theme problem is because you only have the SMF version of the themes. There are the same themes made for SMF+TP. A link is in my sig for you to download.

Veleno

i don't know how to thank you for helping me... truelly i'm very happy now that i know TP and this very nice comunity.

Thanks to the staff for helping me ...

i will be very happy to install TP in many other sites ...

My compliments to all