phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
         

phpBB-TweakS Forum Index Footer Hack Footer Hack
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  Reply to topic

Thu Sep 29, 2005 5:10 pm
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Footer Hack Reply with quote

Well it just suddenly happend. This error:
Warning: Division by zero in /home/www/MYSITE/MYFORUM/includes/page_tail.php on line 52
It seems to only be on my Ez Portal though. But here is the line 52, and its in the footer hack code so yea...
Code:
   $sql_percent         = round($sql_percent / $gentime * 100);

Note: its not really MYSITE or MYFORUM there...
Post #1
      Back To Top  

Fri Sep 30, 2005 7:05 pm
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

umm i really need help... someone please..
Post #2
      Back To Top  

Fri Sep 30, 2005 7:21 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Make sure $gentime & $sql_percent are not set above that line somewhere....
Post #3
      Back To Top  

Fri Sep 30, 2005 8:15 pm
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

i dont know how they could as its just copying and freaking pasting. now its even messed up more sigh
Post #4
      Back To Top  

Sat Oct 01, 2005 12:27 am
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

Ok, i got it all to work again. But the footer thing is being a little goofy.
:: [ Load Time: 1128144413.1 Seconds ] :: [ 42 Queries ] :: [ Query Log ] :: [ 3 Page(s) Viewed Today ] ::
:: [ Todays Queries: 124 ] :: [ Highest Load: 85 Queries On Oct. 01, 2005 ] ::
:: [ SQL Load: 0% Time: 0 ] :: [ PHP Load: 100% Time: 112814441.3 ] :: [ Debug: On ] :: [ GZIP: Disabled ] ::

how can i fix this..
Post #5
      Back To Top  

Sat Oct 01, 2005 5:11 am
Author Message
Trapt
New TweakeR
New TweakeR


Joined: 01 Oct 2005
Posts: 2
Words Posted: 66
Average Post: 33.00


Post subject: Reply with quote

hmm i had the same problem, im going to assume that when you inserted the SQL into your database, you didn't set the date, once I edited the SQl data, it fixed the error.

EDIT: scratch that, i installed MiniProfile, and the error appears on there.
Post #6
      Back To Top  

Sat Oct 01, 2005 10:02 am
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

Well at one time i had it all working fine, but then it messed up and i had to uninstall then reinstall the mod... it may have messed up im not sure why exactly
Post #7
      Back To Top  

Sat Oct 01, 2005 8:05 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Usually when it does that, another mod is using the same $string name. Hence why i had you look for $gentime somewhere else. Specifically in the file(s) that its messes up on.
Post #8
      Back To Top  

Sat Oct 01, 2005 11:23 pm
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

well i redid the entire freaking mod i just dont get it.. -.-
Post #9
      Back To Top  

Sun Oct 02, 2005 7:42 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

I dont think you are following me. It might not be in the footer mod is what i am saying. It might be in another mod that uses $gentime also & when it uses it, its resetting the value that the footer mod needs.... Follow now?
Post #10
      Back To Top  

Sun Oct 02, 2005 11:03 am
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

So am i supposed to search page_tail for it? or other files, and what files as well?
Post #11
      Back To Top  

Sun Oct 02, 2005 3:43 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

You need to search the files where the time isn't right.... Thought i said that above...

aUsTiN wrote:
Usually when it does that, another mod is using the same $string name. Hence why i had you look for $gentime somewhere else. Specifically in the file(s) that its messes up on.
Post #12
      Back To Top  

Sun Oct 02, 2005 8:32 pm
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

Ok for the last time, its not messed up on any files, and only ur mod seems to be using freaking $gentime... so what could be wrong... sql? what!! do you want me to post a file....
Post #13
      Back To Top  

Mon Oct 03, 2005 6:45 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Well, we can check the SQL, but it wouldn't make a difference... The time is generated in the PHP files. So for a start, paste me extension.inc
Post #14
      Back To Top  

Mon Oct 03, 2005 6:12 pm
Author Message
BlazedTrigun
Moderate TweakeR
Moderate TweakeR


Joined: 16 Aug 2005
Posts: 66
Words Posted: 9,152
Average Post: 138.67

Location: My Mind

Post subject: Reply with quote

Wow , i really apologize austin... im very sorry...my ftp didnt edit that file and only that file after i had to redo the mod... Im sincerly sorry man. Tho i still gotta fix that stupid colors problem -.-
Post #15
      Back To Top  

Mon Oct 03, 2005 6:56 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Glad ya atleast got one fixed Smile

And no need to apologize, just remember next time, i'm not as stupid as i might appear when it comes to my codes :p
Post #16
      Back To Top  

 
         

Post new topic  Reply to topic

phpBB-TweakS Forum Index Footer Hack Footer Hack
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
 
Protected by phpBB Security © phpBB-TweakS
phpBB Security Has Blocked 3,237 Exploit Attempts.

· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·

:: [ Load Time: 2.8 Seconds ] :: [ 30 Queries ] :: [ 3,673 Page(s) Viewed Today ] ::
:: [ Todays Queries: 102,819 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] ::
:: [ SQL Load: 62% Time: 1.7 ] :: [ PHP Load: 38% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] ::
:: The server last rebooted 80 days, 2 hours, 28 minutes, 34 seconds ago. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004