Switching from Mobile to Standard renders the admin component

JohnBlack
14 years, 3 months ago
Hi,

I have a problem when I try to switch from Mobile Version to the Standard Version.
Instead of switching to chosen markup (in this case the PC version) it's loading the admin component of Mobile Joomla.

I'm using:
Joomla version: 1.5.22 (clean install with only Mobile Joomla instaled above)
Mobile Joomla version: 0.9.8
PHP: 5.3
Mysql: 5.1.41
System SEF: disabled
Mobile Always: disabled
In Mobile Joomla Plugin file: mobilebot.php which seams to be ok.

The switch link for Standard Version:
joomlamobile.ro/index2.php?option=com_mobilejoomla&task=setmarkup&markup=&return=aHR0cDovL2pvb21sYW1vYmlsZS5yby8=
The return it's ok.



Thanks,
John
dryabov
14 years, 3 months ago
Very strange behavior. Do you use "original" Joomla? What 3rd-party plugins of system group do you have installed?
JohnBlack
14 years, 3 months ago
Hi,

Thanks for the quick answer.

I'm not using any 3rd-party plugins.
I've done just a fresh installation of joomla and installed just Mobile Joomla.
dryabov
14 years, 3 months ago
OK. Next questions. What the webserver do you use? Do you use mod_rewrite or similar url-rewriting webserver extensions?
JohnBlack
14 years, 3 months ago
Apache 2.2.14,
For this test I've disabled system SEF (I've tried with it enabled first). More clear,not just disabled, there is no .htacces file.
Vhost is set with a pretty basic unrestricted set up:
<VirtualHost *:80>
DocumentRoot "C:/joomlamobile"
ServerName joomlamobile.ro
 
<Directory "C:/joomlamobile">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
 
</VirtualHost>
dryabov
14 years, 3 months ago
1. What is "include_path" parameter in php.ini?
2. Try to change in index2.php 'include "index.php"' by 'include "./index.php"'.
JohnBlack
14 years, 3 months ago
include_path = ".;C:ZFlibrary;C:xamppphpPEAR"

I've put include(dirname(__FILE__).DIRECTORY_SEPARATOR.'index.php'); index2.php

The "." should resolved that simple include('index.php');
I don't really get it.
JohnBlack
14 years, 3 months ago
I found what was the problem. It's not related to Mobile Joomla.
It's related to the fact that I have 3 diffrent vhosts + default localhost with joomla test instalations. So insted of getting the joomlamobile.ro/index.php it was loading localhost/joomla/index.php .

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.