Parse error: syntax error, unexpected T_STRING

Forum
Last Post
Threads / Messages

MikiHeart

Premium Member
Premium Member
Joined
Apr 26, 2009
Messages
186
Points
0
Age
32
Mysidian Dollar
13,385
I thought I would make my own thread instead of continuing to take over the other one. Sorry about that.

So far I have tried a fresh installation.

The error appears before and after installation

Parse error: syntax error, unexpected T_STRING in /home/pyonchii/public_html/othersites/chibimaster.com/adopts/classes/resource/native/objective.php on line 3


The line of code it's referring to is: namespace Resource\Native;

I've tried commenting it out, but it then gives an error to another file, and then another. Then I stopped.

Now I'm testing to see if it happens with 1.3.3 of the script, or it's just 1.3.4
 
If you are getting this error changes are you are not running PHP 5.3+ on your server, since your PHP does not recognize the namespace keyword. It should work fine with PHP 1.3.3, but you may get into other problems if your script is not running PHP 5.3 or 5.4.
 
I just got it to work.

The difference is, this time I changed the setting to my folder before I installed the script. Not after.

Yea.. getting really frustrated.

Now I'm getting login errors. Can't login at all

"Invalid Action Specified

Sorry, we could not log you on with the details specified. You can try again or request a password reset. "

Tried resetting password and didn't work.
 
Last edited:
lol I updated my post. Can't get script to log me in. Going to test in another browser.

Edit:

I got it to work with a fresh install. Weird how this stuff happens O_O
 
Last edited:
Login errors in the website? Go to phpMyAdmin and create another user and give it admin priviledges. The first admin never works logging in for some reason
 
Oh that's odd. I just did a fresh install. Now trying to work out how to do the forum thing.

I'm also going to start coding some features which I think are desperately needed but have been over looked.

For example: I was able to access the admin panel and see all the options without logging in. I just wasn't able to change anything. I would rather have a blank page with a login, or have it redirect to the front page if a user is not logged in.

The other thing I think is really REALLY needed is a maintenance plugin. So you can close the site while you're working on, but admins can still see the site and work on it.
 
Tbh I dont know why some people are struggling with admin login as I never had the problem of logging in the site after a fresh installation myself. Creating a new admin is one temporary solution, but it may only work for people who have at least a little bit of experience using web services/phpmyadmin. If anyone of you actually discover the cause of admin login failure please do let me know, its difficult to debug something that never happens to me.

@Cybertrash:
You mean a feature that allows admins to open/close their sites to visitors at will? This is planned for Mys v1.4.0, shouldnt be hard to achieve in Mys v1.3.x either(To disable the main site, just throw an exception on index.php saying that the site is under construction).
 
@Cybertrash,

i seem to be having the same problem as you; do you mind explaining what you did to see if i can also fix my issue
 
Yea, copy and paste bro.

I got multiple errors across different php versions and servers. So I can't pin point the problem unless you tell me which one it is XD
 
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /srv/disk9/1540094/www/antillia.co.nf/classes/resource/collection/collection.php on line 216
 
Is this from a fresh install, or after all the edits you and Hall of Famer were talking about?
 
What php version do you have on your webhost? What company are you with?
 
EDIT; Got it to install...yet i cant login..

now its saying

502 bad gateway...wth
 
Last edited:
EDIT; Got it to install...yet i cant login..

The login problem happens often with the first Admin created. Go to phpMyAdmin (or whatever kind of database management your host offers), table (yourdatabase)_users and create a new user and give it Admin priviledges (usergroup 1)
 
Edit: I found the database name. when i enter it on the insallation page it wont go to the next page. my internet just wont put it through
 
Last edited:
Edit: I found the database name. when i enter it on the insallation page it wont go to the next page. my internet just wont put it through

Installation page? So you didn't it install it yet? Did you create the database first? (the database and the database user with all permissions)
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,119
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top