Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Joomla Template Problem
Old 04-24-2009, 07:48 AM Joomla Template Problem
Experienced Talker

Posts: 44
Name: Alex
Trades: 0
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..
chemicalbrother is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-24-2009, 08:09 AM Re: Joomla Template Problem
SiberForum's Avatar
canadian

Posts: 1,497
Trades: 0
Well. After the installation of new template you with administrative rights need to make your new template as the one you will use as default one.
__________________

Please login or register to view this content. Registration is FREE
SiberForum is offline
Reply With Quote
View Public Profile
 
Old 04-24-2009, 10:23 AM Re: Joomla Template Problem
Experienced Talker

Posts: 44
Name: Alex
Trades: 0
I cant get into front or backend ?
chemicalbrother is offline
Reply With Quote
View Public Profile
 
Old 04-24-2009, 01:22 PM Re: Joomla Template Problem
Experienced Talker

Posts: 44
Name: Alex
Trades: 0
Ive got this working.......simple reinstalled Joomla !!
chemicalbrother is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Joomla Template Problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28554 seconds with 12 queries