Google Translation - Permission To Access /cms.php


Subject: Google Translation - Permission To Access /cms.php
version. Icy Phoenix 1.3.0.53a (new install)
Frozen Phoenix template
VPS server Linux
www.pergoles.eu


I installed this at the beginning from the google for translation

Code: [Download] [Hide] [Select]
<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=el&w=160&h=60&title=&border=&output=js"></script>
and works well


now trying to put a new (other languages) from google again
Code: [Download] [Hide] [Select]
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'el',
includedLanguages: 'en,sq,bg,de,it,ca,hr,hu,pt,ro,sr,mk,tr'
}, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

and when I'm in CMS page> 2 Columns> Add/Edit Block Page
and try to submit it I get this error message

Forbidden
You don't have permission to access /cms.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at pergoles.eu Port 80


any idea what to do;

Profile PM  
Subject: Re: Google Translation - Permission To Access /cms.php
I don't know what the mistake on your way is,

but I would add it in overall_footer.tpl of your template
or you can add it in CMS with "Banners and Sponsors"

Here is a little codechange from Lopalong
http://www.icyphoenix.com/viewtopic.php?p=45976#p45976

Profile PM  
Subject: Re: Google Translation - Permission To Access /cms.php
Thank you TheSteffen for your replydden
I tried it (CMS/Ads & Sponsors) and I have the same problem
Code: [Download] [Hide] [Select]
You don't have permission to access /cms_ads.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at pergoles.eu Port 80


something goes wrong I thing with CMS for this reason I report it......

Profile PM  
Subject: Re: Google Translation - Permission To Access /cms.php
Strange, for me it is working with both ways.

Like I can see at your website it is now working for you too.
How did you solved it?

Profile PM  
Subject: Re: Google Translation - Permission To Access /cms.php
I am also facing same problem from a long time and tried many thing but still cant figure out the solution. Still searching hope I will make it soon.

Subject: Re: Google Translation - Permission To Access /cms.php
chucksrhodes wrote: [View Post]
I am also facing same problem from a long time and tried many thing but still cant figure out the solution. Still searching hope I will make it soon.

Maybe your upload permission is somehow different of the rest? Try uploading the same file with other permission (with a code that the file may be changed) ...

I dont have any other ideas, sorry!

Profile PM  
Subject: Re: Google Translation - Permission To Access /cms.php
strange problems you got.

I sorted this tihs way round.

edit all template/default breadcrumbs. files . templates/common/cms/breadcrumbs aswell

search:
Code: [Download] [Hide] [Select]
</div>{IMG_TBR}


add before:
Code: [Download] [Hide] [Select]
<div align="center" padding-top:5px;">
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'es'
}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div>


change : pageLanguage: 'es' to your language


You´ll have translator switch directly underneath breadcrumbs. tested in cms , and it´s working


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.213s (PHP: 9% SQL: 91%)
SQL queries: 15 - Debug Off - GZIP Enabled