Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Support (.87) > Script messing up page


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Script messing up page

Newbie





Posts: 2
Registered: 3/30/2009
Status: Offline

  posted on 3/30/2009 at 07:45 PM
Hi guys I hope some one might be able to help me. Two years ago I created my own autotheme using the tutorials on this site. I highly recommend these

as prior to this I didn't know what html was. So if a complete novice can do it, well........ you know the rest.

Anyway to my problem. Im using the nuke treasury module on our site. Everything is fine until I click on the reconcile payments button which runs a

script to tally all the donations etc. This seeems to mess up the page. I thought it may be related to just my theme but apparently not.

I tested the reconcile script with several themes including the autotheme theme and the problem seems to be exclusive to autotheme themes. Phpnuke

themes seem to be unaffected.

My theme before running script.

http://i144.photobucket.com/albums/r197/Tycoon33/untitled.j pg

My theme after running script.

http://i144.photobucket.com/albums/r197/Tycoon33/untitled1. jpg

Autotheme before running script.

http://i144.photobucket.com/albums/r197/Tycoon33/untitled2. jpg

Autotheme after running script.

http://i144.photobucket.com/albums/r197/Tycoon33/untitled3. jpg

Just one small note. Using firebug in firefox shows no style sheets availble when running the script.

Has anyone else experienced these problems? Any help would be greatly appreciated.

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 3/30/2009 at 08:20 PM
When AutoTheme looks like that, there was a PHP fatal error on the page. You can make sure by viewing the source of the page and seeing if you have a comment like: [#AUTOTHEME_START#] around the top.

You need to turn on error reporting. You can do it in AutoTheme like this: http://www.spidean.com/SpideanForums-viewthread-tid-4394.ph tml

But you may need to turn it on in your Nuke version also. Some of the forks have it in the config.php file.

This should give you the real error.

-Shawn

 
Reply With Quote

Newbie




Posts: 2
Registered: 3/30/2009
Status: Offline

  posted on 3/31/2009 at 10:10 AM

Thanks for the quick response Shawn. Ive posted the page source below. I stripped out as much code as I could before obtaining the page source ie: header, footer, left blocks etc just to make life a little easier. The stack of code on line 48 is just the standard admin panel in php nuke.

I've enabled view errors in the config.php but nothing has shown up. I am a novice and am assuming I've done whats required to view any errors.

Thanks for the support.



1
2<!-- [#AUTOTHEME_START#] -->
3<!--
4*****************************************************************
5Theme Name: Combat
6Version:
7
8Description:
9
10Author:
11Contact:
12*****************************************************************
13-->
14<head>
15
16
17
18<!--<link href="style/style.css" rel="stylesheet" type="text/css">-->
19<!--Begin Header-->
20<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
21
22
23<!-- ImageReady Slices (Header.psd) -->
24<!--End Header-->
25
26
27
28
29
30
31
32<!--Begin Body Component-->
33<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
34<table border="0" cellpadding="0" cellspacing="0" width="100%">
35 <tr>
36
37
38<!-- Begin Center Column -->
39 <td >
40<!-- Begin Block -->
41
42
43<!-- Open Module Styles -->
44<div id="" class="module">
45
46<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=""><tr><td>
47<table width="100%" border="0" cellspacing="1" cellpadding="4" bgcolor=""><tr><td>
48<center><a href="admin.php"><font class='title'>Administration Menu</font></a><br><br><table border="0" width="100%" cellspacing="1"><tr><td align="center" valign="top" width="16%"><font class="content"><a href="/admin.php?module=AutoTheme&op=main"><img src="images/admin/autotheme.gif" border="0" alt="AutoTheme" title="AutoTheme"></a><br><b>AutoTheme</b><br ><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=backup"><img src="images/admin/backup.gif" border="0" alt="Backup DB" title="Backup DB"></a><br><b>Backup DB</b><br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=BlocksAdmin"><img src="images/admin/blocks.gif" border="0" alt="Blocks" title="Blocks"></a><br><b>Blocks</b><br>&l t;br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=mod_authors"><img src="images/admin/authors.gif" border="0" alt="Edit Admins" title="Edit Admins"></a><br><b>Edit Admins</b><br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=Groups"><img src="images/admin/groups.gif" border="0" alt="Users Groups" title="Users Groups"></a><br><b>Users Groups</b><br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=hreferer"><img src="images/admin/referers.gif" border="0" alt="HTTP Referers" title="HTTP Referers"></a><br><b>HTTP Referers</b><br><br></font></td></tr>&l t;tr><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=ipban"><img src="images/admin/ipban.gif" border="0" alt="IP Ban" title="IP Ban"></a><br><b>IP Ban</b><br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=messages"><img src="images/admin/messages.gif" border="0" alt="Messages" title="Messages"></a><br><b>Messages</b><br&g t;<br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=moderation"><img src="images/admin/moderation.gif" border="0" alt="Moderation" title="Moderation"></a><br><b>Moderation</b>< br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=modules"><img src="images/admin/modules.gif" border="0" alt="Modules" title="Modules"></a><br><b>Modules</b><br> <br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=newsletter"><img src="images/admin/newsletter.gif" border="0" alt="Newsletter" title="Newsletter"></a><br><b>Newsletter</b>< br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=optimize"><img src="images/admin/optimize.gif" border="0" alt="Optimize DB" title="Optimize DB"></a><br><b>Optimize DB</b><br><br></font></td></tr><tr&g t;<td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=Configure"><img src="images/admin/preferences.gif" border="0" alt="Preferences" title="Preferences"></a><br><b>Preferences</b>&l t;br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=submissions"><img src="images/admin/submissions.gif" border="0" alt="Submissions" title="Submissions"></a><br><b>Submissions</b>&l t;br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=themecpanel"><img src="images/admin/themecpanel.gif" border="0" alt="Theme Cpanel" title="Theme Cpanel"></a><br><b>Theme Cpanel</b><br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=Treasury#AdminTop"><img src="images/admin/treasury.gif" border="0" alt="Treasury" title="Treasury"></a><br><b>Treasury</b><br&g t;<br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=logout"><img src="images/admin/logout.gif" border="0" alt="Logout / Exit" title="Logout / Exit"></a><br><b>Logout / Exit</b><br><br></font></td></tr></t able></center></td></tr></table></td></ tr></table>
49<br><table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=""><tr><td>
50<table width="100%" border="0" cellspacing="1" cellpadding="4" bgcolor=""><tr><td>
51<center><a href="admin.php"><font class='title'>Modules Administration</font></a><br><br><table border="0" width="100%" cellspacing="1"><tr><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=BannersAdmin"><img src="images/admin/banners.gif" border="0" alt="Banners" title="Banners"></a><br><b>Banners</b><br> <br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=content"><img src="images/admin/content.gif" border="0" alt="Content" title="Content"></a><br><b>Content</b><br> <br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=downloads"><img src="images/admin/downloads.gif" border="0" alt="Downloads" title="Downloads"></a><br><b>Downloads</b><br ><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=encyclopedia"><img src="images/admin/encyclopedia.gif" border="0" alt="Encyclopedia" title="Encyclopedia"></a><br><b>Encyclopedia</b> <br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=FaqAdmin"><img src="images/admin/faq.gif" border="0" alt="F.A.Q." title="F.A.Q."></a><br><b>F.A.Q.</b><br>&l t;br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=forums"><img src="images/admin/forums.gif" border="0" alt="Forums" title="Forums"></a><br><b>Forums</b><br>&l t;br></font></td></tr><tr><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=adminStory"><img src="images/admin/stories.gif" border="0" alt="News" title="News"></a><br><b>News</b><br><br ></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=reviews"><img src="images/admin/reviews.gif" border="0" alt="Reviews" title="Reviews"></a><br><b>Reviews</b><br> <br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=create"><img src="images/admin/surveys.gif" border="0" alt="Polls/Surveys" title="Polls/Surveys"></a><br><b>Polls/Surveys</b&g t;<br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=topicsmanager"><img src="images/admin/topics.gif" border="0" alt="Topics" title="Topics"></a><br><b>Topics</b><br>&l t;br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=Links"><img src="images/admin/weblinks.gif" border="0" alt="Web Links" title="Web Links"></a><br><b>Web Links</b><br><br></font></td><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=mod_users"><img src="images/admin/users.gif" border="0" alt="Users" title="Users"></a><br><b>Users</b><br>< br></font></td></tr><tr><td align="center" valign="top" width="16%"><font class="content"><a href="admin.php?op=logout"><img src="images/admin/logout.gif" border="0" alt="Logout / Exit" title="Logout / Exit"></a><br><b>Logout / Exit</b><br><br></font></td></tr></t able></center></td></tr></table></td></ tr></table>
52<br><a name="AdminTop"></a><table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=""><tr><td>
53<table width="100%" border="0" cellspacing="1" cellpadding="4" bgcolor=""><tr><td>
54<center><font class="title"><b>Treasury Financial</b></font></center></td></tr></t able></td></tr></table>
55<br><table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=""><tr><td>
56<table width="100%" border="0" cellspacing="1" cellpadding="4" bgcolor=""><tr><td>
57<center><font class="title"><b>Update register with PayPal IPN</b></font></center><br><br>There are no new IPN records to import! <br><br><form action="admin.php?op=Treasury#AdminTop" method="post"><input type="hidden" name="op" value="Treasury"><input type="submit" value="Return""></form>

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 4/1/2009 at 07:10 PM
You will need to see the PHP error. PHP is most likely logging errors to a file. You may be able to view this through your web hosting control panel. If not, then contact your web host and see how you can view the log/errors.

Thanks!
-Shawn

[Edited on 4/1/2009 by Shawn]

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 175

Powered by the AutoTheme HTML Theme System
Page created in 1.716796 Seconds