Customizing SMF > Modifications and Packages
SimplePortal - 2.3.5 Released!
AngelinaBelle:
I have seen this most frequently when there is a certain type of permission problem. So my advice is to check for and fix this permission problem. Who is your web host?
If your web hosts uses suphp to make the php engine run with the file permissions YOU have on your file, you may need to use CHMOD to change permissions on directories to 755 and on your files to 644. Please give that a try to see if it solves the problem.
---------------------
Here is a little more background on the problem:
http://simpleportal.net/index.php?action=docs;area=solving_install_problems
The problem, strangely, has to do with permission settings which are TOO permissive, on certain hosts, because of the way they have chosen to set things up.
In that case, the web server will simply refuse to serve those files with too-permissive settings. and it gives a 500 error.
To fix the problem, you need to REDUCE the permission settings to a point that the webserver will agree to serve them.
Here's the background: Certain hosts have things set up so that the web server and php deal with your files as though they were you.
This is more convenient, for several reasons, than having them work with your files as if they were nobody at all.
And if things are set up correctly, it is just as secure.
But that also means that anybody who is using your website could potentially have permission to mess with your files and directories, if the software would allow them to do so. SMF uses logins to make sure that only admins can do "admin stuff". But the webserver and the php engine cannot know that. So they follow some very simple rules. If permissions are set dangerously high, they simply refuse to serve those files until the problem is fixed.
WantSome:
Hey guys! I've posted this on simpleportal.net but I figured I might get a reply here too (and the quicker the better!)
Today I tried to upgrade from 2.3.4 to 2.3.5 but when I pressed install I got a weird error. I didn't copy the error, sorry. And I tried a couple of different things but eventually resorted to manually parsing everything with the code on the smf site for parsing.
Now my forum is not working, throwing out this error:
--- Quote ---Parse error: syntax error, unexpected $end in /public_html/forum/index.php on line 392
--- End quote ---
Please help? In the mean time nobody can use my forum!
Shambles:
I find that's usually caused by mismatched { } in your source code. Maybe your edit wasn't correctly applied?
Try pushing your index.php to an online php checker service like this one, or dump it here so we can have a ganders
WantSome:
Thanks Shambles!
I've dumped it on that checker you recommended - same error:
--- Quote ---Parse error: syntax error, unexpected $end in CODE on line 392 Errors parsing CODE
--- End quote ---
It highlights line 392 which is the last line and all it contains is ?> (not that I know anything about code, so perhaps it's assuming I know it means some other line :P )
I'm attaching the file here, and would appreciate any advice!
Yes it is possible that I didn't correctly edit the parsing stuff - I did try to be very careful though!
Shambles:
I think you need to put a } on line 221
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version