• Hello guys

    My site name is http://www.cazzeltech.com

    accidentally my site url has been changed and im unable to login to wp-admin

    when i copy paste

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    to the site wp-config i dont find any difference

    and when i edited the functions.php of the current theme with these lines

    update_option(‘siteurl’,’http://example.com/blog’);
    update_option(‘home’,’http://example.com/blog’);

    im unable to open the site and this error is coming

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/74/8868374/html/wp-content/themes/iGaming/functions.php on line 5

    when i see the functions.php the first 10 lines are like this

    <?php
    update_option(‘siteurl’,’http://cazzeltech.com&#8217;);
    update_option(‘home’,’http://cazzeltech.com);
    require_once TEMPLATEPATH . ‘/lib/Themater.php’;
    $theme = new Themater(‘iGaming’);
    $theme->options[‘includes’] = array(‘featuredposts’);

    $theme->options[‘plugins_options’][‘featuredposts’] = array(‘image_sizes’ => ‘615px. x 300px.’, ‘speed’ => ‘400’, ‘effect’ => ‘scrollHorz’);
    if($theme->is_admin_user()) {
    unset($theme->admin_options[‘Ads’]);

    Please help

    regards
    Cazzel tecg

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need Help’ is closed to new replies.