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 11-05-2013, 03:53 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 23,302
MikiHeart
Default Errors with WAMP

I know I keep posting a lot of threads, I'm sorry XD

I can get the script to work in WAMP. Because I want to develop it on my computer and create my own mods, without having to have it on a live server. You must know how much of a pain it is to ftp upload and download files all the time.

And then someone could find it, have access and start signing up and doing things you don't want.

Where on my computer with WAMP, I can control everything, keep it private, and use GIT.

So far I've only tested installing and logging in (I did have problems with installing, it wouldn't connect to the database. So I took out where it requires a password to be entered for the database and it installed correctly)

I get this error:

Notice: Undefined variable: controller in C:\wamp\www\adopts\classes\class_language.php on line 111

and this one:

Notice: Undefined property: DocumentRenderer::$thematicBreak in C:\wamp\www\adopts\classes\class_guirenderer.php on line 184

The second one shows up a half a dozen times. While I can turn off errors, that's no good for when I'm developing mods.
Reply With Quote
  #2  
Old 11-05-2013, 09:11 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: 481,760
Hall of Famer is on a distinguished road
Default

Oh I see, this is because you have enabled notice error/warning, which are usually disabled on webhosts since most PHP script will throw notice errors for not defining variables/properties before using them. You can manually disable notice errors through php.ini, or you may choose to go with the hard way to actually define every variable/properties shown on the error message.
__________________


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

If I disable the error/warning, it doesn't show any php errors. I'll keep fiddling it around in that case.
Reply With Quote
  #4  
Old 11-06-2013, 07: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: 481,760
Hall of Famer is on a distinguished road
Default

We'll you are not supposed to disable all PHP errors and warnings, only those 'notice' errors. You may search on PHP official site/manual to find out what I mean by notice errors. There are various levels/categories of errors you can get for PHP, many PHP script causes notice errors since the most webhosts disable them by default so it's not their concerns.
__________________


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

Oh okay. I will research it in that case. Thank you. I'll let you know if I get it working.

Edit:

I couldn't get the edit in the php.ini file to work, so I just added

"error_reporting(E_ALL ^ E_NOTICE);" to the config file, and it works.

Last edited by MikiHeart; 11-06-2013 at 10:31 PM.
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
[guide] Setting up WAMP w/Mysidia Kyttias Tutorials and Tips 54 10-14-2017 10:15 AM
Errors... Kinzu Questions and Supports 0 10-01-2014 10:16 AM
Hi! Some Questions / Errors? pikahlin Questions and Supports 4 06-15-2014 10:56 AM
Fatal errors Aasixx Questions and Supports 8 05-13-2012 07:59 PM
MySQL Errors SubZ Questions and Supports 2 02-08-2009 02:43 PM


All times are GMT -5. The time now is 05:56 PM.

Currently Active Users: 860 (0 members and 860 guests)
Threads: 4,081, Posts: 32,029, 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