|
I have posted in the general section as I can`t find a section relating to CMS.
I have a Joomla template that I have sucessfully installed. Last night switched the pc off with the template working, switched on this morning and went to the url which was working, the template itself has 20 different styles and to change th style you edit the index.php file and replace a number to change the style the line of code is here :
$default_style = "style1"; //[style1... style20]
So changing the number 1 to anything between 1 and 20 changes the template style and colours.
I had it working on style 1 last night so this morning i thought i would have a look at the other styles so i changed the 1 to a 5, which worked, I played with it for a while and thought i would try style 11 so i changed the 5 for an 11 in index.php uploaded the index.php file that I had edited on the desktop to my web server using filezilla. When I tried the url that was working before it came up with this :
Direct Access to this location is not allowed.
So I though uuuhhhhh ???????
Went back into the index.php file on my desktop and changed it back to the origional working template which was number 1..........now i get the same message and the template isn`t working. After doing some googling I came with this
"I had this issue today also. But the problem is that the JTB sometimes doesn't really select 1.5 when you select it. You need to look at the code if line 8 shows :
defined( '_VALID_MOS' ) it's a 1.0 template.
defined( '_JEXEC' ) it's a 1.5 template.
Once I made sure the JTB was using the correct mode I had no problems turning off legacy mode and using it in native 1.5 mode."
Only problem is when i try to get to the admin panel now which was working before i get this :
Not Found
The requested URL /test/administration was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Maybe a change on the preview and download page could be to tell you what mode was used to create the s_template_config.php file
So I`m stuck, looks like Joomla maybe running in an incorrect version for the template for some reason, something that has "just happened" without me changing anything, only thing is I can`t seem to get back into the administration panel as I get the above error, I`ve tried googling for hours and I`m stuck wondering if anyone has any helpful suggestions ?
Last edited by chemicalbrother; 04-24-2009 at 07:50 AM..
|