Welcome, Guest
Username Password: Remember me

Switching from Mobile to Standard renders the admin component
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Switching from Mobile to Standard renders the admin component

Switching from Mobile to Standard renders the admin component 14 years ago #632

  • JohnBlack
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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

Switching from Mobile to Standard renders the admin component 14 years ago #2611

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Very strange behavior. Do you use "original" Joomla? What 3rd-party plugins of system group do you have installed?

Switching from Mobile to Standard renders the admin component 14 years ago #2612

  • JohnBlack
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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.

Switching from Mobile to Standard renders the admin component 14 years ago #2613

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
OK. Next questions. What the webserver do you use? Do you use mod_rewrite or similar url-rewriting webserver extensions?

Switching from Mobile to Standard renders the admin component 14 years ago #2614

  • JohnBlack
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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>

Switching from Mobile to Standard renders the admin component 14 years ago #2615

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
1. What is "include_path" parameter in php.ini?
2. Try to change in index2.php 'include "index.php"' by 'include "./index.php"'.

Switching from Mobile to Standard renders the admin component 14 years ago #2622

  • JohnBlack
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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.

Switching from Mobile to Standard renders the admin component 14 years ago #2624

  • JohnBlack
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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 .
  • Page:
  • 1
Time to create page: 0.11 seconds

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.