1
tedsmith
Editing of Theme.html results in white page
  • 2007/1/1 18:38

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I am attempting to use the 'Blue Shine' theme for a new site I am building. The theme works fine 'out of the box'.

However, whenever I edit ANY value in the theme.html file and re-upload it as part of the usual customisation of your own websites, I get the white page problem. In my case, all I am trying to edit is the height and width values of the logo and I have replaced the default logo.gif with my own logo.gif. But whenever I re-upload the edited theme.html file it goes white again and I have re-upload the original to get the site to work again.

Having spent hours on this and reading all the usual 'white page' FAQ's and forum threads, I'm no clearer. Many of the suggestions either do not apply to my case, or they don't work. I've done all the usual deleting of templates_c files, clearing browser cache etc. And yes, I have the 'Check templates for modifications?' set to yes.

What makes it worse is that the debug mode in XOOPS 2.0.16 does not appear to generate anything so I can't debug the problem with an error message. I've tried inline and popup styles. (It also happended with XOOPS 2.0.13.2 so I don't think it's an XOOPS version issue).

Can anyone offer any suggestions?

Thanks

Ted

2
iHackCode
Re: Editing of Theme.html results in white page

what program are you using to edit the file?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
stefan88
Re: Editing of Theme.html results in white page
  • 2007/1/1 19:32

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Quote:
Can anyone offer any suggestions?


Posting some code from theme.html here ...
..

4
tedsmith
Re: Editing of Theme.html results in white page
  • 2007/1/1 20:21

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Editing tool : Notepad

Code :

Before editing :

<tr><td><img src="<{$xoops_imageurl}>images/logo.gif" alt="" width="468" height="60" />td>tr>


After editing:

<td><img src="<{$xoops_imageurl}>images/logo.gif"[balt="Providing ADR training throughout the UK" height="80" width="350">[/b]td>tr>

5
stefan88
Re: Editing of Theme.html results in white page
  • 2007/1/1 20:44

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
from what you have posted, the starting "" tag is missing, but this should not bring white page.
Did you try with different browser?
..

6
tedsmith
Re: Editing of Theme.html results in white page
  • 2007/1/1 21:43

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Quote:
the starting "" tag is missing


That was just an omission of the selection for copy and paste. The tags are actually the same - thanks for pointing that out though, and yes, it shouldn't render a white page.

I hadn't tried a different browser but that won't make any difference anyway. Different browsers will effect the way things are rendered in some cases but not the difference between showing entire content and not showing entire content.

7
stefan88
Re: Editing of Theme.html results in white page
  • 2007/1/1 21:50

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Did you try it on another XOOPS version / install?
..

8
tedsmith
Re: Editing of Theme.html results in white page
  • 2007/1/1 22:30

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Yes. It first happened after a fresh install of 2.0.13.2, I then left it for a while (my Dad was too busy to provide me with the material about his business so I had nothing to do) and then upgraded it to 2.0.16 the other day and problem persists.

It's such a bizarre error I'm finding it really frustrating. Why would a theme work out the box, but then not simply by changing one value? It can't be anything to do with the FTP because the fresh theme works fine after it has been FTP'd up to the site so so should the edited file.

Weird.

If anyone has the time, I'd really appreciate it if they could download blue_shine onto a test site or something (I haven't got my standalone setup with web server or virtual machines yet) (from here)), edit something, and see if it happens to them.

Cheers

Ted

9
stefan88
Re: Editing of Theme.html results in white page
  • 2007/1/1 23:00

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Had no problem changing the size of the logo ...
..

10
skenow
Re: Editing of Theme.html results in white page
  • 2007/1/2 4:04

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Be sure to close the img tag - the / is missing in your edited version

Login

Who's Online

442 user(s) are online (315 user(s) are browsing Support Forums)


Members: 0


Guests: 442


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits