Giter VIP home page Giter VIP logo

Comments (9)

clonemeagain avatar clonemeagain commented on June 24, 2024 1

Dang, totally forgot. I've put it in my calendar for tomorrow mate. Should really check this more.

from osticket-plugin-archiver.

CashDesk avatar CashDesk commented on June 24, 2024 1

@clonemeagain i tried with my file and got the same erros. After that i copied yours and it seems to work now.
Thanks!

from osticket-plugin-archiver.

CashDesk avatar CashDesk commented on June 24, 2024

@clonemeagain, any idea what i did wrong?

from osticket-plugin-archiver.

clonemeagain avatar clonemeagain commented on June 24, 2024

Hey chief, can you post the file with the mod, or should I make a copy you can just slot in there.. that's probably easier. You don't need it for deleting, just archiving. Been meaning to work on it, but super busy.

from osticket-plugin-archiver.

CashDesk avatar CashDesk commented on June 24, 2024

class.ticket.-archive.zip
Here you are and thanks for your help!

from osticket-plugin-archiver.

CashDesk avatar CashDesk commented on June 24, 2024

from osticket-plugin-archiver.

CashDesk avatar CashDesk commented on June 24, 2024

Hi @clonemeagain , did you had time to check it? Thanks for your reply

from osticket-plugin-archiver.

clonemeagain avatar clonemeagain commented on June 24, 2024

Ok, I've tested it with 1.11 on PHP 7 and it works. I'm not getting any server errors, well, none related to the plugin, if you crank up the logging it's quite a list to dig through.

https://gist.github.com/clonemeagain/40c4a026d292789375a2caf2c983253d

Generated by modifying bootstrap.php to include an error-handler, ie:

function errorHandler($errno, $errstr, $errfile, $errline) {
 
    switch ($errno) {
        case E_NOTICE:
        case E_USER_NOTICE:
        case E_DEPRECATED:
        case E_USER_DEPRECATED:
        case E_STRICT:
            error_log("STRICT error $errstr at $errfile:$errline n");
            break;
 
        case E_WARNING:
        case E_USER_WARNING:
            error_log("WARNING error $errstr at $errfile:$errline n");
            break;
 
        case E_ERROR:
        case E_USER_ERROR:
        case E_RECOVERABLE_ERROR:
            exit("FATAL error $errstr at $errfile:$errline n");
 
        default:
            error_log("Unknown error at $errfile:$errline n");
    }
}
 
set_error_handler("errorHandler");

You should not do that on production systems, but if you are still having an issue, please enable the logging and send me the link, or email it to me [email protected]

I've modified the ReadMe and uploaded copies of the Tagged releases with the mod, I think your file is probably right, so it's a mystery. You can try my versions if you like, they are just that one line change from core.

from osticket-plugin-archiver.

clonemeagain avatar clonemeagain commented on June 24, 2024

Ok cool. :-)

from osticket-plugin-archiver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.