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 12-04-2015, 12:18 AM
Distortion's Avatar
Distortion Distortion is offline
Member
 
Join Date: Dec 2015
Location: Somewhere beyond the sea
Posts: 31
Gender: Female
Credits: 3,896
Distortion is on a distinguished road
Default Won't let me logout[FIXED]

Everytime I go to /login/logout, I get this error:
HTML Code:
Parse error: syntax error, unexpected '=' in /home/nibimysi/public_html/classes/class_widget.php(112) : eval()'d code on line 1

Warning: Cannot modify header information - headers already sent by (output started at /home/nibimysi/public_html/classes/class_widget.php(112) : eval()'d code:1) in /home/nibimysi/public_html/classes/class_cookies.php on line 125

Warning: Cannot modify header information - headers already sent by (output started at /home/nibimysi/public_html/classes/class_widget.php(112) : eval()'d code:1) in /home/nibimysi/public_html/classes/class_cookies.php on line 126

Warning: Cannot modify header information - headers already sent by (output started at /home/nibimysi/public_html/classes/class_widget.php(112) : eval()'d code:1) in /home/nibimysi/public_html/classes/class_cookies.php on line 127

Warning: Cannot modify header information - headers already sent by (output started at /home/nibimysi/public_html/classes/class_widget.php(112) : eval()'d code:1) in /home/nibimysi/public_html/classes/class_cookies.php on line 128

Last edited by Distortion; 12-04-2015 at 05:17 PM.
Reply With Quote
  #2  
Old 12-04-2015, 03:37 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: 393,167
Hall of Famer is on a distinguished road
Default

Well did you modify the script file? As far as I know, when I installed your site and did a quick test, I was able to log in and log out normally.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 12-04-2015, 04:30 PM
Distortion's Avatar
Distortion Distortion is offline
Member
 
Join Date: Dec 2015
Location: Somewhere beyond the sea
Posts: 31
Gender: Female
Credits: 3,896
Distortion is on a distinguished road
Default

The lang_breeding, lang_trade, loginview, class_itemshop, header.tpl, inventoryview, class_adoptables files, are the ones I modified, however replaced them with fresh files of the originals, except for header.tpl, inventoryview, class_itemshop.

I also added two columns to the adopts_users table, exploretimes and lastday, but deleted them, and two files, tooltip.js, tooltip.css, explorearea1 and explore, however I also deleted those except for the tooltip files.
Reply With Quote
  #4  
Old 12-04-2015, 04:38 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: 393,167
Hall of Famer is on a distinguished road
Default

I see, but judging from the error message, you have a syntax error in the Widget class file, which shows as:

PHP Code:
if($module->php) eval($module->php); 
As you see, this line evaluates the PHP code for a module in your widget, so the syntax error is in the module. Did you edit any modules in ACP? Or did you create a new module with PHP code? If so, it may explain why you get this error.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 12-04-2015, 04:51 PM
Distortion's Avatar
Distortion Distortion is offline
Member
 
Join Date: Dec 2015
Location: Somewhere beyond the sea
Posts: 31
Gender: Female
Credits: 3,896
Distortion is on a distinguished road
Default

Added a 1.3.3 avatar module I found out worked in 1.3.4, this one to be exact.
PHP Code:
$profile $mysidia->user->getprofile();
$avatar = new Image($profile->getAvatar());
$avatar->resize(200);
$moduleContainer->add($avatar); 
EDIT: Deleted it and I keep getting the error.

Last edited by Distortion; 12-04-2015 at 05:06 PM.
Reply With Quote
  #6  
Old 12-04-2015, 05:15 PM
Distortion's Avatar
Distortion Distortion is offline
Member
 
Join Date: Dec 2015
Location: Somewhere beyond the sea
Posts: 31
Gender: Female
Credits: 3,896
Distortion is on a distinguished road
Default

Fixed it. I also had to delete it in the database as well.
Reply With Quote
  #7  
Old 12-04-2015, 05:36 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: 393,167
Hall of Famer is on a distinguished road
Default

Well it should still work with Mys v1.3.4, perhaps you did not copy/paste the code properly, this is usually where you may get a syntax error.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
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
Mys v1.3.4 Seamless Login/Logout Redirect to Index Kyttias Mys v1.3.x Mods 13 06-03-2020 10:13 AM
Login/Logout Error tahbikat Questions and Supports 15 02-15-2014 10:26 AM
Redirect to Previous Page after Login/Logout fadillzzz Mys v1.1.x Mods 6 02-02-2011 05:24 PM


All times are GMT -5. The time now is 07:34 AM.

Currently Active Users: 792 (0 members and 792 guests)
Threads: 4,080, Posts: 32,024, 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