Errors with WAMP

Forum
Last Post
Threads / Messages

MikiHeart

Premium Member
Premium Member
Joined
Apr 26, 2009
Messages
186
Points
0
Age
32
Mysidian Dollar
13,385
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.
 
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.
 
If I disable the error/warning, it doesn't show any php errors. I'll keep fiddling it around in that case.
 
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.
 
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:

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top