1
WauloK
Updated an .html file and now site is blank (no errors)
  • 2004/6/21 1:18

  • WauloK

  • Just popping in

  • Posts: 17

  • Since: 2003/10/22


I even turned oh PHP Errors. I get an error on the admin screen about a variable but not on the NEWS page.

I updated a .html file in my theme directory and it didn't reflect on the site, so I enabled:
-------------
Update module template .html files from themes/your theme/templates directory?
-------------

Now, my site is blank! I turned this option off again, tried different themes (even default) but all are blank. Changed the default page to "None". No good.

PS : the admin page error is:
Notice: Undefined variable: xoops_admin_menu_dv in /home/ap/public_html/guildsite/include/cp_functions.php on line 141

I doubt that has anything to do with it.

Site address:
http://ap.ofganareth.com/guildsite/modules/news/

2
tl
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:04

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

I updated a .html file in my theme directory and it didn't reflect on the site, so I enabled:
-------------
Update module template .html files from themes/your theme/templates directory?
-------------

Now, my site is blank! I turned this option off again, tried different themes (even default) but all are blank. Changed the default page to "None". No good.



You need to turn the option on and then change to default theme.

Something in the theme file broke the whole thing. Did you turn the smarty debug on?

3
WauloK
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:21

  • WauloK

  • Just popping in

  • Posts: 17

  • Since: 2003/10/22


Tried all Error options. PHP Debug & Default theme.

Still blank.

Surely the html file wouldn't break the whole site?

4
tl
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:26

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Xoops relies on smarty. "blank pages" are usually the result of non-rendered smarty variables.

5
tjnemez
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:30

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


which theme did you switch to?

6
WauloK
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:42

  • WauloK

  • Just popping in

  • Posts: 17

  • Since: 2003/10/22


I have installed and tested:

default
4thefort (the modded one for our site)
phpkaox
x2t

I get a blank site on all of them. The only code I get is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<
HTML><HEAD>
<
META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<
BODY></BODY></HTML>


I just changed two lines in the theme.html file in the 4thefort theme.
They were just cosmetic changes. Removing one
<font color="wheat"> </font>

and placing it elsewhere.
I might still have the original theme at home, so might try uploading theme.html
but why would modifying one theme make the rest blank? A mystery

7
WauloK
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:48

  • WauloK

  • Just popping in

  • Posts: 17

  • Since: 2003/10/22


The updated page is:
http://ap.ofganareth.com/guildsite/themes/4thefort/theme.html

I changed the line that contains ** JOIN **
and the line that contains PUBLIC POSTS

8
tjnemez
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:49

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


so you edited a theme, (made changes) and uploaded, then updated from general settings?

9
WauloK
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 2:54

  • WauloK

  • Just popping in

  • Posts: 17

  • Since: 2003/10/22


yup

10
tjnemez
Re: Updated an .html file and now site is blank (no errors)
  • 2004/6/21 3:13

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i noticed you have added: <script language='javascript' src='http://yoursite/js.cgi?pa&r=2668'></script>

what is this for?

Login

Who's Online

131 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

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

Latest GitHub Commits