Problem with PDA-subdomain-mambot and cache
Tags: joomla, mambot, pda, subdomain, cache
In some cases, using the mambot you can have problems with display of links on page (from the main domain there can be a link to a pda, and vice versa). It is connected with not absolutely correct work of joomla’s system of caching which does not know, that a site can be visited from different addresses.
For the solution of this problem it is necessary to add in a file /includes/joomla.cache.php before a line 58:
$ret = call_user_func_array(array($this->_cache, 'call'), $arguments);
the code
global $mosConfig_live_site; $arguments[] = $mosConfig_live_site;
Thus, as a result you should have:
global $mosConfig_live_site; $arguments[] = $mosConfig_live_site; $ret = call_user_func_array(array($this->_cache, 'call'), $arguments);
June 14th, 2007 at 6:18 pm
Hello ,
.
i’m french, and at first i would like to apologize of my bad english
I have a little problem with the Pda subdomain manbot :
Here what I did ;
At first, at first I made an subdomain with 1&1 . I called it “http://pda.euroastuces.com/” .
After, i installed the PDA-template and the PDA-subdomain-mambot , and i published them .
But, when i try to see my site in “mobile version” i have a message of error :
(With the subdomain) http://emulator.mtld.mobi/emulator.php?emulator=&webaddress=pda.euroastuces.com%2F&emulator=nokiaN70&Submit=Submit
(With the maindomain)
http://emulator.mtld.mobi/emulator.php?webaddress=euroastuces.com&emulator=nokiaN70&Submit=Submit
Can you help me ?
Cordially
Thanks .
===
Bonjour ,
Je suis français et ma maitrise de l’anglais étant très mauvais je poste également en francais ^^ .
J’ai un petit problème avec le mambots de sous domaine :S .
Voici ce que j’ai fait :
En premier j’ai créer un sous domaines avec 1&1 que j’ai nommé http://pda.euroastuces.com/ .
Deuxièmement j’ai installer et publier le pda template / mambot de sous domaines .
Cependant , lorsque j’essaie de voir le rendus de ces deux derniers objet , je tombe sur le message d’erreur suivant :
(Avec le sous domaine) http://emulator.mtld.mobi/emulator.php?emulator=&webaddress=pda.euroastuces.com%2F&emulator=nokiaN70&Submit=Submit
(Avec le domaine principal )
http://emulator.mtld.mobi/emulator.php?webaddress=euroastuces.com&emulator=nokiaN70&Submit=Submit
Pourriez vous m’aider ?
Cordialement .
ps : Merci d’avoir dévelloper ce module
.
June 15th, 2007 at 4:15 am
nabst
There are several reasons for this error:
1. You have wrong html-code, for example:
2. I notice that some pda-sites replace all the non-ascii characters into &#…;. I’m going to test utility of it. May be this solves some of problems.
3. Try to add
at the beginning of pda-template (before <html>).
June 15th, 2007 at 11:54 am
Hello ,
i don’t know if i have a wrong html-code (How can i know this?) .
So, i tried the other methode , you can see what i have done with this : http://cjoint.com/data/gprXRJcvr4.htm .
(I modified “index.html”)
Now i have a new error :
http://emulator.mtld.mobi/emulator.php?webaddress=pda.euroastuces.com&emulator=nokiaN70&Submit=Submit
http://emulator.mtld.mobi/emulator.php?webaddress=euroastuces.com&emulator=nokiaN70&Submit=Submit
Thanks for you help
.
Cordially .
ps : If you want to make some test with my siteweb, i can give you an account
.
June 15th, 2007 at 12:07 pm
Problem, most likely, is in unhandiness of a html-code. When I have saved page and have cleaned therefrom all “unnecessary”, it began to be displayed normally through emulator.mtld.mobi. But in what the problem consists, I yet have not found out.
To solve new problem try to change
to
June 15th, 2007 at 1:46 pm
Hello,
i tried this with the code whose i had previously (((
” . )))
The mobile emulator give me this error : Page cannot be displayed .
(My index code : http://cjoint.com/data/gptTkYNJgQ.htm )
Do i have to delete the code whose i had previously ?
Thank you for all your assistance:)