MyBB Community Forums

Full Version: Parse Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I searched around the forums and did not find any solutions to this problem. I have uploaded the directory to my webserver. I use the link www.mywebsite.com/mybb/install/ to get to the installation page and i get this error (Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/17/d340017663/htdocs/mybb/inc/class_core.php on line 18) . I have changed all the permissions the way I was told by the installation guide provided by MyBB and I still get that error. I do have phpBB3 installed on my server but I could not find anywhere that said you could not install mybb if anything else was installed. If thats the case I would like to find that out 1st before I uninstall anything only to find out it did not matter Wink Ive tried deleting and uploading again and I still get the same error Sad I really want to try out mybb so any help is greatly appreciated Smile Thank You !
MyBB 1.6 requires PHP 5.1

That error indicates your server is still running PHP 4, contact your host and ask them to upgrade you to PHP 5.
(2010-09-21, 06:44 PM)AJS Wrote: [ -> ]MyBB 1.6 requires PHP 5.1

That error indicates your server is still running PHP 4, contact your host and ask them to upgrade you to PHP 5.

I had just figured that out lol now the only problem is my host does not do the upgrade I have to do it myself Sad supposed to add a command line to the .htaccess file yet ive found like 4 of them Sad i think i need a new host haha
If your host refuses to upgrade to PHP 5, change. .htaccess edits shouldn't be the only way to get this to work.
(2010-09-21, 07:23 PM)MattRogowski Wrote: [ -> ]If your host refuses to upgrade to PHP 5, change. .htaccess edits shouldn't be the only way to get this to work.
again another problem the .htaccess file is in my hidden logs file and it wont let me change it, its locked on there end i can do nothing inside that folder im not supposed to even see it lol, i have found other .htaccess files but they are all texts and i tried to add the line to them all and one at a time and i still parse error Sad

ok i figured it out Smile i just made a whole new .htaccess file and uploaded it directly to the root folder with the command line needed and the MyBB install popped right up Smile Thank you all for the quick responses Smile