Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Parse error: syntax error, unexpected T_STRING
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 |
#2
|
||||
|
||||
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.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
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 by MikiHeart; 10-29-2013 at 03:01 AM. |
#4
|
||||
|
||||
I see, glad it worked out for ya.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
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 by MikiHeart; 10-29-2013 at 05:03 AM. |
#6
|
||||
|
||||
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
__________________
asp.net stole my soul. |
#7
|
||||
|
||||
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. |
#8
|
||||
|
||||
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).
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#9
|
|||
|
|||
@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 |
#10
|
||||
|
||||
Phoeniix: Which problem?
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parse Error on clean install of 3.4 | KirinCrossing | Newcomer Center | 3 | 09-09-2013 03:09 AM |
ACP Error : Fatal error: Class 'AppController' not found in... | Isura | Questions and Supports | 39 | 06-17-2013 03:26 AM |
Parse error with myadopts.php | Aasixx | Questions and Supports | 4 | 05-05-2012 11:05 PM |
unexpected T_STRING | The Codfin Keeper | Questions and Supports | 5 | 02-01-2011 08:13 PM |
Parse error: syntax error, unexpected T_ELSE in /home/.nyles/ | Saphira | Questions and Supports | 11 | 05-26-2009 12:45 PM |
What's New? |
What's Hot? |
What's Popular? |