+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: when installing a script geting - E_CORE_NOTICE - ????

  1. #11
    loveispoison is offline Banned loveispoison is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    323

    Re: when installing a script geting - E_CORE_NOTICE - ????

    Quote Originally Posted by garrettroyce View Post
    If your script uses the constant a lot, you'll probably get a whole slew of errors if you remove the line in which it's referenced. I would add this to the beginning of the file that you got the original error from:

    Code:
    define('E_CORE_NOTICE', E_CORE_WARNING);
    define('E_COMPILER_NOTICE', E_COMPILER_WARNING);
    Without knowing exactly what your script is doing, it's hard to pinpoint an exact solution, but I think this is a reasonable solution requiring little re-coding.

    This is what is happening:
    Code:
    $var = ERROR_DOESNT_EXIST;
    echo $var; // prints ERROR_DOESNT_EXIST (a string) and throws an error
    
    define('ERROR_DOESNT_EXIST', 12345);
    $var = ERROR_DOESNT_EXIST;
    echo $var; // prints 12345 (no error)
    fantastic it worked i removed those lines and replaced it with your and the errors didnt show up thanks

    im gona try and see if is there gona be another error if any i will post here

    EDIT:

    didnt work i get same error again and another once that was there b4

    Notice: Use of undefined constant E_COMPILER_WARNING - assumed 'E_COMPILER_WARNING' in /home/user/public_html/mydomain.com//libs/xx/class.Error.php on line 176

    Notice: Constant E_CORE_NOTICE already defined in /home/user//public_html/mydomain.com//libs/xx/class.Error.php on line 175

    Notice: Use of undefined constant E_COMPILER_WARNING - assumed 'E_COMPILER_WARNING' in /home/user//public_html/mydomain.com//libs/xx/class.Error.php on line 176

    Notice: Constant E_COMPILER_NOTICE already defined in /home/user//public_html/mydomain.com//libs/xx/class.Error.php on line 176

    Fatal error: Class '1' not found in /home/user//public_html/mydomain.com/libs/xx/class.xxDatabase.php on line 157
    i get this at the last step there are 5 steps of installation and the script is ppc search engine script
    Last edited by loveispoison; 06-29-2009 at 08:45 PM. Reason: code didnt work

  2. #12
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: when installing a script geting - E_CORE_NOTICE - ????

    Sorry, E_COMPILE_WARNING

    It also looks like someone did define the constants, but they're defined later in the script. You should go to those lines and use:

    Code:
    if (!defined('E_COMPILE_NOTICE')) {
    define(....
    It looks like the author got things out of order. You should also copy the define() statement from where it is giving the error now, to where I told you to define them earlier.
    Last edited by garrettroyce; 06-29-2009 at 09:48 PM.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #13
    loveispoison is offline Banned loveispoison is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    323

    Re: when installing a script geting - E_CORE_NOTICE - ????

    ok but the other main problem is this one even if i remove those line i get this error and even if i leave them

    Fatal error: Class '1' not found in /home/user//public_html/mydomain.com/libs/xx/class.xxDatabase.php on line 157
    this i dot get why it doesnt work

  4. #14
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: when installing a script geting - E_CORE_NOTICE - ????

    Can you post or PM me that file? At least, as much as you feel comfortable with.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  5. #15
    loveispoison is offline Banned loveispoison is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    323

    Re: when installing a script geting - E_CORE_NOTICE - ????

    ok pmed u with the download link for the script please can u fix it i tryed im not a noobi but i know about php some time like this i dont get whats going on let me know if u can fix it i will give u some credits if u want

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. help installing a php script
    By pietimer in forum Scripts & 3rd Party Apps
    Replies: 7
    Last Post: 08-30-2008, 05:21 AM
  2. Access to 300+ PHP scripts (2500 credits)
    By jonathanyaniv in forum The Marketplace
    Replies: 11
    Last Post: 06-03-2008, 10:58 PM
  3. Error iin Installing script
    By testing111 in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 05-06-2008, 02:52 AM
  4. Replies: 8
    Last Post: 12-03-2007, 04:12 PM
  5. Need Help Installing a PHP script.
    By ptr5000 in forum Free Hosting
    Replies: 3
    Last Post: 08-31-2007, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers