ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Error when trying to access


  • 2006-06-03 08:20:31

    Error when trying to access

    I had attempted to install my own theme after following the instructions but I must has messed up somewhere. When I try to access program i get the following response:



    Warning: main(include/../themes//theme.cfg.php): failed to open stream: No such file or directory in /home/xtremexc/public_html/ATutor/include/vitals.inc.php on line 227

    Warning: main(include/../themes//theme.cfg.php): failed to open stream: No such file or directory in /home/xtremexc/public_html/ATutor/include/vitals.inc.php on line 227

    Fatal error: main(): Failed opening required 'include/../themes//theme.cfg.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xtremexc/public_html/ATutor/include/vitals.inc.php on line 227

    What should I do.

    PS. before this had happened I was and still am impressed with this program and feel that it could greatly assist our company.:)

  • 2006-06-03 09:02:47

    Re: Error when trying to access

    Open the themes table in the database, using something like phpMyAdmin, and change the value in the status column back to 1 for your theme, and reset the default theme back to 2.

    Then make what ever adjustment you need to make to your theme, then try it again. Make sure the dir_name column value matches the name of the directory your theme is in.

  • 2006-06-03 10:13:49

    Re: Error when trying to access

    ALTER TABLE `AT_themes` CHANGE `status` `status` TINYINT(1) UNSIGNED NOT NULL DEFAULT '2'

    Is this the correct setting?

  • 2006-06-03 11:03:07

    Re: Error when trying to access

    UPDATE `AT_themes` SET `status` = '2' WHERE CONVERT( `title` USING utf8 ) = 'ATutor' LIMIT 1 ;

    UPDATE `AT_themes` SET `status` = '1' WHERE CONVERT( `title` USING utf8 ) = 'MyTheme' LIMIT 1 ;

    where "MyTheme" is the name of you theme

    (using mysql 4.1+)

  • 2006-06-03 11:34:45

    Re: Error when trying to access

    Thank-you very much Greg! Up and Running. I think I prefer the default themes now:P