Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Parse error: syntax error, unexpected T_STRING (http://www.mysidiaadoptables.com/forum/showthread.php?t=4274)

MikiHeart 10-29-2013 01:37 AM

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

Hall of Famer 10-29-2013 01:45 AM

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.

MikiHeart 10-29-2013 01:53 AM

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.

Hall of Famer 10-29-2013 01:59 AM

I see, glad it worked out for ya.

MikiHeart 10-29-2013 02:29 AM

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

IntoRain 10-29-2013 04:05 AM

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

MikiHeart 10-29-2013 04:22 AM

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.

Hall of Famer 10-29-2013 11:37 AM

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).

Phoeniix 10-29-2013 12:06 PM

@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

MikiHeart 10-29-2013 09:53 PM

Phoeniix: Which problem?


All times are GMT -5. The time now is 07:58 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.