Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2013, 02:37 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 23,437
MikiHeart
Default 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
Reply With Quote
  #2  
Old 10-29-2013, 02:45 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 492,609
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 10-29-2013, 02:53 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 23,437
MikiHeart
Default

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.
Reply With Quote
  #4  
Old 10-29-2013, 02:59 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 492,609
Hall of Famer is on a distinguished road
Default

I see, glad it worked out for ya.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 10-29-2013, 03:29 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 23,437
MikiHeart
Default

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.
Reply With Quote
  #6  
Old 10-29-2013, 05:05 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 20,944
IntoRain is on a distinguished road
Default

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.
Reply With Quote
  #7  
Old 10-29-2013, 05:22 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 23,437
MikiHeart
Default

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.
Reply With Quote
  #8  
Old 10-29-2013, 12:37 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 492,609
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
  #9  
Old 10-29-2013, 01:06 PM
Phoeniix Phoeniix is offline
Member
 
Join Date: Oct 2013
Posts: 60
Gender: Male
Credits: 6,583
Phoeniix is on a distinguished road
Default

@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
Reply With Quote
  #10  
Old 10-29-2013, 10:53 PM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 23,437
MikiHeart
Default

Phoeniix: Which problem?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 12:29 AM.

Currently Active Users: 1151 (0 members and 1151 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636