• Resolved miniburf

    (@miniburf)


    while working on a site for work yesterday i think i deleted a bit of the code of the satorii 1.0 theme and now the entire site has whitescreened on me and now i cant access the site at all, it wont even let me log onto wordpress so im guessing i deleted something pretty important. i think i was in the functions.php file when this happened but im not too sure. the only information ive got to work with is this:

    PHP Fatal error: require_once() [function.require]: Failed opening required ‘/home/sites/payroll-services-centre.co.uk/public_html/wp-content/themes/satorii/options/theme-options.php’ (include_path=’.:/usr/share/pear5′) in /home/sites/payroll-services-centre.co.uk/public_html/wp-content/themes/satorii/functions.php on line 2

    This error is stating that the file public_html/wp-content/themes/satorii/options/theme-options.php can not be found.

    The file generating this error is public_html/wp-content/themes/satorii/functions.php

    It is the second line of code

    <?php

    require_once ( get_stylesheet_directory() . ‘/options/theme-options.php’ );

    This file does not exist in your hosting package theme-options.php

    I’ve managed to get this from a ticket posted on the hosting site, any ideas what could’ve caused this and how i can fix it?

    Thanks,

    Miniburf

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator cubecolour

    (@numeeja)

    download a fresh copy of the theme to your desktop & unzip, then connect to your site files by FTP to look at your theme & compare the two versions of the theme.

    Thread Starter miniburf

    (@miniburf)

    how do you download the full theme? only way i know to access it is via another site i can log into and i’d really rather not risk doing it again

    edit: sorry looked into it now, on the wordpress site theres no satorii theme even on there. not sure if its an old discontinued theme or something but i cant seem to find it

    Moderator cubecolour

    (@numeeja)

    do have a previous backup of your site? if you can’t afford to lose your site you should always have a file & database backup.

    Is this your theme? http://www.yukei.net/proyectos/satori-english-documentation/

    Thread Starter miniburf

    (@miniburf)

    There is a backup of the site however the web host wants it to be in Zip format which for some reason it isn’t i’ll look into that when i can get access to it as i don’t have the credentials to log onto the host site. Yes thats the theme im using however it doesn’t have the 1.0 version of it that the site uses, only 2 updates (1.1,1.2) but both of them are beta versions and so i dont no if the code will be simular/the same. I downloaded the zip of the 1.2 version and have begun looking at the code but since i’m not sure what was deleted or in what file( possibly the function.php due to the error) to cause the problem im not sure how much code im going to have to flick through to find what the problem could be.

    Moderator cubecolour

    (@numeeja)

    If you have a file backup, you can copy in the previous version of the functions.php or at least compare the differences between the current version and the version in the backup.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘satorii 1.0 missing options/theme_options.php’ is closed to new replies.