This topic has 9 replies, 3 voices, and was last updated 10 years, 2 months ago ago by Robert Hall
hi eighteme-team,
i changed the files (to translate some wordings) via the dashboard->design->editor
the last thing i edited was the
woo.php
i changed the worde “E-Mail to friend”, updated the file an saw the change in the frontend without problems. but then i wanted to change it again and just a white site appeared since then. frontend and backend..
do you have an idea how to help? i can’t visit my site…
Thank you!
Hello,
Please provide us with wp-admin and FTP credentials in Private Content.
Regards,
Robert Hall.
thank you. here’s the information:
Hello,
I’ve enabled debug mode in wp-config.php file and now your site is showing the error:
Parse error: syntax error, unexpected T_STRING in /web/1/000/086/509/352527/htdocs/wp-content/themes/royal/framework/woo.php on line 825
Please check woo.php file carefully for the changes you’ve made.
Regards,
Eva Kemp.
i changed ‘Anfragen’
and
mailto:mail@rohstov.de?
(see code at the bottom)
can you tell me what should be there?
i wanted the change the “email to a friend” function to something like “ask a question about the product”-thing, so when you click the email is directed to my adress. so that isn’t possible right?
if(!function_exists(‘et_email_btn’)) {
function et_email_btn($label = ”) {
global $post;
$html = ”;
$permalink = get_permalink($post->ID);
$post_title = rawurlencode(get_the_title($post->ID));
if($label == ”) {
$label = __(‘Anfragen’, ETHEME_DOMAIN);
}
$html .= ‘
‘.$label.’‘;
echo $html;
}
}
thank you again.
regards,
patrick
Hello,
Please check your site now.
The reason was you had additional '
symbol in the code <a href="mailto:mail@rohstov.de?subject='.$post_title.'&body=Wie%20schauts%20aus:%20'.$permalink.'" target="_blank" class="email-link">'.$label.'</a>';
in this line Wie%20schaut's%20aus:%20
. I’ve removed it.
Regards,
Eva Kemp.
hi,
great, thanks!
hm.. but at the moment nothing is happening, if i try to reach the site.. endless loading.
hi – works again. sorry
Hello,
We’re glad to hear it.
If you have any questions feel free to contact us.
Regards,
Robert Hall.
The issue related to '‘front- and backend isn't available!’' has been successfully resolved, and the topic is now closed for further responses