Technology Tools for Ministry

Community

Web-Empowered Church Developer's Community
All Categories > Developers > Templates > templates not applied
Total Posts: 16 - Pages (2): [1] 2
Author: Johan van der Lingen
Posted: Feb 26 2008 - 06:47 AM
Subject: templates not applied
Hello, I installed WEC's starters kit yesterday. I read a manual to change the template of the website. I changed some parameters of the website (like name and server URL) and chose a template. However, the template is not applied and when I click one of the links in the menu, it cannot find the page (e.g. for 'Home', it's looking at [ServerAdress]/Home, but it isn't stored there).

Can anyone help me find out what I am doing wrong?
Author: Timothy Brennan Jr
Posted: Feb 26 2008 - 01:47 PM
Subject: re: templates not applied
msn
Greetings Johan,
Could you help with a few points? Are you trying to change the template using WEC Config or are you trying to change it using some other way? If you are using some other process to change the template, what process would that be (Templavoilį, creating your own static template, etc.)?

Is the default template showing up? I ask this to know if no template at all is appearing or if you are not able to CHANGE the template.
I had a similar problem once. I solved it by deactivating the RealURL plugin. If that doesn“t work then it could be something else.

Please keep in touch. I am not an expert, but have been working with this package for a while.

God Bless,

Tim Jr.

Author: Johan van der Lingen
Posted: Feb 26 2008 - 05:05 PM
Subject: re: templates not applied
Hello Tim,

thank you for replying. I am trying to change through WEC config. I can see many previews of templates within typo3, but none is applied to the actual website (just black-on-white text). If I change the value of the drop-down box on the right to "Select Site Template" I can see a current template and many others. There's no difficulty in choosing another one. Except of course that it is not applied at all.

I cannot find anything that looks like a RealURL plugin.

God Bless you too,

Johan
user picture Author: Mark Stephenson
Posted: Feb 26 2008 - 06:00 PM
Subject: re: templates not applied
Johan,

It could be that the site URL is incorrect. If it is incorrect then links are bad like links to the CSS file that makes the template work. Please make sure it has a trailing slash. It should look like this:

http://yourdomain.org/

In Him,
Mark
Author: Johan van der Lingen
Posted: Feb 27 2008 - 02:51 AM
Subject: re: re: templates not applied
The site's URL is defined like this: "http://servername:82/" (and of course apache listening on port 82). Maybe there are more places where I should fill this in?

When I view the page, I can see links to all pages, but when I click them I get a 404 error saying e.g. that path "/home/" doesn't exist on the server. The browser location however shows that it is looking for "http://servername:82/home".
The actual path however is "http://servername:82/fileadmin/home". But if I fill in that path in the browser it speaks of an "Internal Server Error".
Also it doesn't help to change typo3's URL to "http://servername:82/fileadmin/".
I chmodded 777 the directory "fileadmin" and "home" to test, but that didn't make any difference.
user picture Author: Mark Stephenson
Posted: Feb 27 2008 - 08:30 AM
Subject: re: templates not applied
Hi,

I'd suggest running the server check script available at:

http://www.webempoweredchurch.com/fileadmin/proj/wec_servercheck

Once you upload the script to your server, you can post the results here or just post a link to it on your server.

In Him,
Mark
Author: Johan van der Lingen
Posted: Feb 27 2008 - 09:20 AM
Subject: re: templates not applied
Thank you, that is very useful!

One problem I noticed is that I didn't copy the (invisble) .htaccess file. I now did and chowned it root:www-data.
However, the server-check now generates an internal server error.

I think this is a apache configuration issue; how should my apache conf look like?
Right now it looks like this:

<VirtualHost [servername]:82>
ServerAdmin my@email.address
DocumentRoot /var/www/typo3
ServerName [servername]
<Directory /var/www/typo3>
AllowOverride All
</Directory>
</VirtualHost>
Author: Johan van der Lingen
Posted: Mar 01 2008 - 04:16 AM
Subject: re: templates not applied
Does anyone have more ideas? I am still stuck
Author: Johan van der Lingen
Posted: Mar 02 2008 - 09:16 AM
Subject: re: templates not applied
I don't know why, but the templates work now. According to the wec_servercheck I should still make the .htaccess file available.
If I place it in the typo3 folder, I still get an internal server error.
Author: Jeff Segars
Posted: Mar 03 2008 - 01:33 PM
Subject: re: templates not applied
Johan,
Glad to hear you go the template side of things working. Do you still get an Internal Server Error if you add an empty .htaccess file instead of the default WEC one? If a blank file works, it may be that mod_rewrite is not available on your server, which is required for the RealURL extension.

Thanks,
Jeff

Total Posts: 16 - Pages (2): [1] 2
You must login to post a message to this conference.

Pages

Not a member yet? click here to register.