Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

osTicket 1.9.12 - PHP Fatal error: Class 'VerySimpleModel' not found

hi all

I have a centos6 full uptodate (php5.3) with osTicket 1.9.12 which had no issues at all in the last months.. 

suddenly, today, it appears broken..

I get the error message I reported in the sbj.

all files are there, with right perms..

any hint?

I tried to debug it but 

Comments

  • Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.
  • edited March 13
    centos6 full uptodate 
    php 5.3 (php-5.3.3-48.el6_8.x86_64) 

     the error is 
     [Mon Mar 13 21:53:34 2017] [error] [client xx.xxx.xxx.xxx] PHP Fatal error: Class 'VerySimpleModel' not found in /var/www/html/support.mydomain.tld/upload/include/class.user.php on line 20 

    no page but the main index.php and the "create a new ticket" one is working
    thank you
  • I edited your response to get rid of all the horribad HTML formatting that you injected.

    Have you disabled SELinux? (since you are running CnetOS)

    I would recommend that you upgrade php to 5.6 and and osTicket to current.

    Have you modified your core source files.... perhaps by like installing a third party theme?
  • sorry for the html, I sincerely don't know how I did it :-)

    selinux is disabled.. I repeat, OST was working flawlessy.. 

    I can't easily upgrade my server because I have many sites running on it

    no source code editing, no custom theme
  • Something must have changed.
    Things generally don't stop working for no reason.

    The reason why I asked most of those questions is that /include/class.user.php on line 20 does not reference VerySimpleModel in your version.  
  • edited March 14
    mmmhh..

    [root@emergo include]# head -n 20 class.user.php
    /*********************************************************************
    class.user.php

    External end-user identification for osTicket

    Peter Rotich
    Jared Hancock
    Copyright (c) 2006-2013 osTicket
    http://www.osticket.com

    Released under the GNU General Public License WITHOUT ANY WARRANTY.
    See LICENSE.TXT for details.

    vim: expandtab sw=4 ts=4 sts=4:
    **********************************************************************/
    require_once INCLUDE_DIR . 'class.orm.php';
    require_once INCLUDE_DIR . 'class.util.php';

    class UserEmailModel extends VerySimpleModel {

    I read it from the file I extract from osTicket-v1.9.12.zip

    and, more
    [root@emergo upload]# grep '_VERSION' bootstrap.php
    define('THIS_VERSION', 'v1.9.12'); // Set by installer
    define('GIT_VERSION', '19292ad'); // Set by installer
    define('MAJOR_VERSION', '1.9');

    [root@emergo upload]# grep '_VERSION' bootstrap.php 
    define('THIS_VERSION', 'v1.9.12'); // Set by installer
    define('GIT_VERSION', '19292ad'); // Set by installer
    define('MAJOR_VERSION', '1.9');
  • edited March 14
    I beg your padron but even if I paste simple text, the result is horrible

    edited html source.. it seems an issue with the rich editor
  • I discovered that even pasting here code as plain text, it gets horrible html tags..


  • Really?  Because this is cut and pasted plain text.

    Look no horrible HTML tags.
  • not now :-)

    anyway, back in topic, I'm investigating, 'cause cloning the install on another server (almost identical) the error is gone

    will let you know, thank you
  • BTW, check you PM here, thank you
  • I look forward to your update.

    I saw the PM...  I've been trying to decide how I want to answer it. :)
Sign In or Register to comment.