• Resolved Hollie

    (@holliegirouard)


    ive been building a site through mamp using local host and the restauranteur theme.
    i updated the current theme while working on the site…when the update was complete, my local host page is now completely blank and i cannot access the file/site/back-end/admin page (anything) i was about to complete!

    any thorough help and instruction is greatly appreciated as i have never used mamp before this project.

    thanks!

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hi Hollie,

    This is most likely due to an error in the theme. Error reporting is turned off so you don’t get any notice of this, only a blank screen.

    I suggest editing the wp-config.php file in your WordPress directory. There should be something like this in it: define( 'WP_DEGUG', false ). Change “false” to “true” and reload the site. You should be able to access everything but errors will also be displayed.

    If this is a particularly bad error you still may not be able to access the site but you will get error messages, that’s better than nothing ??

    Daniel

    Thread Starter Hollie

    (@holliegirouard)

    thank you daniel! i REALLY appreciate your help.

    i received this message upon reloading:

    Warning: require_once(/Users/Hollie/Documents/sites/wordpress 2/wp-content/themes/restaurateur/library/class/class-tgm-plugin-activation.php): failed to open stream: No such file or directory in /Users/Hollie/Documents/sites/wordpress 2/wp-content/themes/restaurateur/functions.php on line 860

    Fatal error: require_once(): Failed opening required ‘/Users/Hollie/Documents/sites/wordpress 2/wp-content/themes/restaurateur/library/class/class-tgm-plugin-activation.php’ (include_path=’.:/Applications/MAMP/bin/php/php5.5.14/lib/php’) in /Users/Hollie/Documents/sites/wordpress 2/wp-content/themes/restaurateur/functions.php on line 860

    Hi @hollie, don’t mention it!

    This is an error caused by your theme, you will need to get in touch with the developer for this. You could also try reinstalling the theme. If you don’t have access to the admin you’ll need to do this using an FTP connection.

    This error is about a class called “class-tgm-plugin-activation”. This class allows theme and plugin authors to recommend and require plugins through the WordPress admin. This component of the theme seems to be missing, which is why you are getting the error.

    Daniel

    Thread Starter Hollie

    (@holliegirouard)

    yeh, thanks. waiting for a reply from the developer. i obviously need to reinstall the older version of the theme since there is an issue with the new version…just not sure how to go about doing it. :-/
    thanks again

    Hi @hollie,

    No worries! You’ll need FTP access to your server to do this. The process is not that difficult but if you receive an answer in a short time from the developer it may be easier to wait ??

    Daniel

    Thread Starter Hollie

    (@holliegirouard)

    hey, thanks
    they released a new version of the theme. i’ve downloaded it.
    have searched for videos/tutorials on how and where to place the new theme locally, but can’t find anything suitable to my situation…and i’m sure its the easiest thing!
    again, thanks for all your help!

    Thread Starter Hollie

    (@holliegirouard)

    also downloaded filezilla ??

    Hi @hollie,

    Ah, I just realized this is for MAMP, it will be easier then! I think on MAMP the default location of your files should be /Applications/MAMP/htdocs. If your files are there, go to that folder and search for your WordPress installation. Once you’ve found it you will need to go to wp-content/themes.

    I recommend copying the theme folder and placing it on your desktop as a backup. Once done, delete the original theme and extract the new theme in its place.

    Hope this helps!

    Daniel

    Thread Starter Hollie

    (@holliegirouard)

    of course there is a htdocs folder and its empty! eek
    btw, you are THE best…and i feel super dumb

    Lol no worries, I think it’s ok not to know everything about everything ??

    This means that your MAMP installation is using something other than the default directory. If you know the name of the theme, perhaps search for a folder with that name on your computer to find where it is.

    Daniel

    Thread Starter Hollie

    (@holliegirouard)

    so thanks AGAIN.
    i replaced and activated the older version of my theme…so now i can at least access my admin panel.
    BUT, now the localhost site is back to square one default with none of my info or page customizations.

    Hi Hollie,

    I’m glad all is well in part at least. I think you’ll have to take that part up with the theme makers. Updating a theme generally does not cause customization loss, but it depends on the system they use. If the name of the theme, or the name of the theme’s folder is different than before that may be an issue as well.

    Daniel

    Hollie –

    When you initially installed MAMP, did you change any of the default settings after or during the installation?

    If not, then indeed, your site files will be in:

    Applications/MAMP/htdocs or most likely Applications/MAMP/htdocs/wordpress

    What is the URL you use to access the local site? Is it:

    https://localhost:8888/wordpress ?

    If it is the above, then your theme is located:
    Applications/MAMP/htdocs/wordpress/wp-content/themes/restauranteur

    Simply delete the restauranteur folder which should cause WP to revert to it’s default Twenty Fourteen theme. If not, you will sitll be able to access the Dashbaord where you can then install the updated theme normally through Appearance > Themes > Add New > Upload Theme.

    Thread Starter Hollie

    (@holliegirouard)

    thanks guys.
    you live and learn!
    starting over…WITH a child theme ??
    daniel, can’t thank you enough!

    It was my pleasure Hollie, good luck with the theme!

    Daniel

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘local host MAMP page blank after updating resauranteur theme’ is closed to new replies.