error before installation!? at inc/functions.inc.php

Report bugs and errors in this forum.

error before installation!? at inc/functions.inc.php

Postby hackerzlab » Thu Oct 01, 2009 11:43 am

i got an error when i open the index.php in my localhost: http://localhost/cutie/index.php

i'm using the latest version of XAMPP for mac. any idea why this is happening? i can't open the install/install.php either! i just can't start off with anything.. here's the error:

Code: Select all
Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING or '(' in /Applications/XAMPP/xamppfiles/htdocs/cutie/inc/functions.inc.php on line 863


please help. thank you.
hackerzlab
 
Posts: 9
Joined: Tue Nov 28, 2006 2:22 pm

Postby DarkSlim » Mon Oct 12, 2009 9:33 am

Hmm it might be something with your server, my knowledge is not
enough for that, but here are couple of stuff to check:

+ PHP version 4.1.0 or higher
+ You've got all the files (nothing's missing)
+ CHMOD 777 the folders cache/ and example/ and data/ and all files and folders in the data/ folder
+ CHMOD 644 the index.php
+ Also try maybe accessing it from another browser or another pc

Remember for the first installation you need to enter cnru-dircetory/index.php

:)
User avatar
DarkSlim
 
Posts: 298
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby hackerzlab » Mon Oct 12, 2009 12:18 pm

DarkSlim wrote:Hmm it might be something with your server, my knowledge is not
enough for that, but here are couple of stuff to check:

+ PHP version 4.1.0 or higher
+ You've got all the files (nothing's missing)
+ CHMOD 777 the folders cache/ and example/ and data/ and all files and folders in the data/ folder
+ CHMOD 644 the index.php
+ Also try maybe accessing it from another browser or another pc

Remember for the first installation you need to enter cnru-dircetory/index.php

:)


finally someone bother to reply!!

+ PHP version is 5.30
+ nothing's missing for sure.
+ CHMOD all files/folders to 777 and so is index.php
+ tried index.php with 644 and 777 but doesn't work
+ tried in safari and firefox and got the same error.

i wonder if cutenewsRU is supported in php v5.30
hackerzlab
 
Posts: 9
Joined: Tue Nov 28, 2006 2:22 pm

Postby DarkSlim » Mon Oct 12, 2009 4:23 pm

It shouldn't be a problem, I have php v5 too on the server my site is hosted on
Hmm might be something wrong with the xampp installation, you should try
to reinstall it or maybe try another installation? or change to wamp?
Maybe this version of xampp isn't 100% suitable for your pc or so

You should try searching the forums too, here is something I've found:
http://forums.cutenewsru.com/viewtopic.php?t=1782

And the last comment on this one:
http://forums.cutenewsru.com/viewtopic.php?t=694

Again, I havn't tried hosting cutenews myself but this is what I have to offer
hope it helps :)
User avatar
DarkSlim
 
Posts: 298
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby hackerzlab » Tue Oct 13, 2009 5:42 am

m using mac.

anyways downloading the mac version of mamp now. hope it works. thanx for the replies.
hackerzlab
 
Posts: 9
Joined: Tue Nov 28, 2006 2:22 pm

Postby Torstein » Tue Oct 13, 2009 1:49 pm

Does any other CMSes work on your home install? There might be some problems with the PHP configuration.
Torstein
 
Posts: 292
Joined: Thu Aug 03, 2006 11:19 pm


Return to Bugs and errors



Who is online

Users browsing this forum: No registered users and 0 guests

cron