• Resolved sanbooly

    (@sanbooly)


    i have a blog, 1st my name is Amr & have blog … https://www.amrhamdy.hol.es
    and it was working fine and suddnly i found it is have a white screen and called the supporter from my hosting and they make debug command and they said that you will see the error on your screen and then i try to fix it and i can’t find why this happen or how i can fix it.

    the Error is :
    Parse error: syntax error, unexpected 'define' (T_STRING) in /home/u145425421/public_html/wp-content/wp-cache-config.php on line 10

    and this is some code from the Text in the File that has the error.

    <?php
    /*
    WP-Cache Config Sample File
    
    See wp-cache.php for author details.
    */
    
    $wp_cache_mobile_groups = ''; //Added by WP-Cache Manager
    $wp_cache_mobile_prefixes = 'w3c , w3c-, acs-, alav, alca, amoi, audi, tim-, tosh, tsm-, upg1, upsi, vk-v, voda, wap-, wapa, wapi, wapp, wapr, webc, winw, winw, xda , xda-'; //Added by WP-Cache Manager
    if ( ! $cache_rejected_uri = arr	define( 'WPCACHEHOME', WP_PLUGIN_) $cache_rejected_user_agent = $cache_compression = 0;
    // Super cache compression
    $cache_enabled = false;
    $super_cache_enabled = f
    $cache_rebuild_files = 1;
    
    // Disable the file locking system.
    // If you are experiencing problems with clearing or creating cache files
    // uncommenting this may help.
    $wp_cache_mutex_disabled = 1;
    
    // Just modify it if you have conflicts with semaphores
    $sem_id = 5419;

    the error line is :

    if ( ! $cache_rejected_uri = arr	define( 'WPCACHEHOME', WP_PLUGIN_) $cache_rejected_user_agent = $cache_compression = 0;
    // Super cache compression

    $cache_rebuild_files = 1;

    and i think this happen because a plugin i installed to performance my blog speed.

    Could anyone have solution for this error.
    please my blog as site on my hosting and now it’s down. my visitor will hate me about this ??

    Thanks in advance in you help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • and i think this happen because a plugin i installed to performance my blog speed.

    If you installed this plugin and then got this error, the plugin is probably the cause of your problem.

    If you cannot access your dashboard, you will need to use an FTP client to go into your wp-plugins folder and delete the offending plugin.

    Thread Starter sanbooly

    (@sanbooly)

    Dear Kjodle,

    Thanks for your reply. but i really don’t know which folder for the correct plugin exactly should i delete.

    in other side. do you know to know what the error in the code ?

    thanks again fro your help

    The error is in here:

    if ( ! $cache_rejected_uri = arr define( 'WPCA

    Without knowing exactly what it’s trying to do, whatever has added in that code has missed some lines in there. The arr should be (at least) array();, and the define( should be on a new line. BUT, there’s no way of knoing how many lines were missed out when that was written by your caching plugin.

    The easy way is to delete that file. The caching plugin should (might…) re-build it. If that doesn’t work you should rename or delete that plugins folder using FTP and this will get your access back. As for which folder, look in /wp-content/pluigns/ and I’m sure you’ll find teh one that has cache in it somewhere. That’s the one.

    Thread Starter sanbooly

    (@sanbooly)

    Dear #catacaustic

    i made what you did and it’s appear other error.
    you can see the Blog from here.
    https://www.amrhamdy.hol.es

    kindly tell me what i should do.
    and i’m sorry to ask you too much ??

    thanks for your replies

    You haven’t disabled the caching plugin. That’s where the error is coming from, so disable that plugin completely.

    If you want to delete the offending plugin thru FTP – remember the name of the plugin and go to /wp-content/plugins/name-of-the-plugin. I am sure it will be a folder/directory. delete that folder then try to access your admin dashboard.

    Thread Starter sanbooly

    (@sanbooly)

    i did all what you told me… and it’s same errors…

    can i recover my blog or it’s gone ??

    please help me

    Thread Starter sanbooly

    (@sanbooly)

    Thanks for everyone who try to help me.

    i deleted the index.php file in the Plugins folder and the 2 folders for 2 plugins, and now the site back again and works fine.

    you can check it out. ??

    Amr Hamdy

    i hope to send me your feedback to improve my small blog. ??

    thanks again

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘i have big problem with my Blog.’ is closed to new replies.