#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
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. |
#3
|
||||
|
||||
If I disable the error/warning, it doesn't show any php errors. I'll keep fiddling it around in that case.
|
#4
|
||||
|
||||
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. |
#5
|
||||
|
||||
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 11:31 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[guide] Setting up WAMP w/Mysidia | Kyttias | Tutorials and Tips | 54 | 10-14-2017 11:15 AM |
Errors... | Kinzu | Questions and Supports | 0 | 10-01-2014 11:16 AM |
Hi! Some Questions / Errors? | pikahlin | Questions and Supports | 4 | 06-15-2014 11:56 AM |
Fatal errors | Aasixx | Questions and Supports | 8 | 05-13-2012 08:59 PM |
MySQL Errors | SubZ | Questions and Supports | 2 | 02-08-2009 03:43 PM |
What's New? |
What's Hot? |
What's Popular? |