News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Error

Started by Niall Ramar, August 18, 2010, 02:22:44 PM

Previous topic - Next topic

kat

Well, now...

On the theme's download page, you'll see a thingy (Technical term!) with "Report this theme as unsafe" on it.

Maybe that needs doing, ay?

Perhaps with a link to this topic?

I'm just off to bed, coz it's getting late, here.

I'll catch up, with this, on the morrow.  :)

gbsothere

#21
Well, dang, Niali....  I did just notice that I should have added a couple of things to the template (the language file is fine).  If some of the errors don't sort, that's why.  I'm doing that, now.


Edit:  Since you're finishing up your work day and heading home, I'm just going to install this theme on my test board with the changes I've made and see if those errors still play out.  No use compromising your forum when I can blow up mine. 





My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

gbsothere

Well, congratulations to my forum, at least.  With the language file I attached earlier and the newly edited template file for Clean Blue that's attached to this post, the only errors I'm throwing are for the arcade.  I'm mucked about all in my Personal Messages, and I'm coming up clean, there.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Niall Ramar

I apologize that I have not updated this further. Unfortunately my host decided that tonight was the night to do some internal tool updates and promptly took down their FTP server during the middle of it. I should know more tomorrow when this is fixed.

gbsothere

Just to keep both files together, so you don't have to sort through my posts, I'll reattach them here.

Good luck with it!   :)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Niall Ramar

Thanks to both of you for taking the time to help me out with this. With the edits you have suggested the errors that were occurring have ceased. I'll update this thread to completed in a few days once I have finished testing everything.

Thanks again for your help.

gbsothere

Thanks for letting us know, Niall.   ;)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

kat

Good work, guys!  :D

gbsothere

Now, we just have to wait for the "Coveted Green Check" from Niall. 

:D
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

kat


Niall Ramar

I went through the whole board top to bottom and did everything I could think of that you can do on a board to see if I could get any further errors to show up. At this time there are none so I'll go ahead and green check this one. Thanks again for all the help guys.

gbsothere

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.


SlammedDime

I looked at the mod report on this theme... after comparing the latest file upload here by gbsothere, there is only *two* lines different from the original theme file (neither of which are even needed to be changed), so this theme itself didn't cause any issues, it was likely a mod install gone awry that caused the issues for you.

Quote--- C:\Users\Matt\AppData\Local\Temp\7zOC124.tmp\PersonalMessage.template.php   2008-07-28 23:17:26.000000000 -0700
+++ C:\Users\Matt\AppData\Local\Temp\PersonalMessage.template-1.php   2010-08-20 08:36:36.236403500 -0700
@@ -253,7 +253,7 @@
      // Show the message anchor and a "new" anchor if this message is new.
      if ($message['id'] != $context['first_message'])
         echo '<br />
-      <a name="msg', $message['id'], '"></a>', $message['first_new'] ? '<a name="new"></a>' : '';
+      <a name="msg', $txt['first_new'], $txt['first_message'], $message['id'], '"></a>', $message['first_new'] ? '<a name="new"></a>' : '';

         echo'   

@@ -569,7 +569,7 @@

function template_search()
{
-   global $context, $settings, $options, $scripturl, $modSettings, $txt;
+   global $context, $settings, $options, $scripturl, $modSettings, $windowcss, $txt;

   echo '
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Niall Ramar

#34
If it was a mod install then no matter what theme I was on the errors would keep occurring correct? They wouldn't just stop happening when I switched themes would they?

The errors I was receiving only occur when I was using the clean blue theme.

Additionally and for the last time there are no mods installed on this forum. Except now the disable eval mod or w/e that was recommended in this thread. There were never any mods attempted to be installed on this forum, except the disable eval mod. The errors were occurring before the disable eval was installed.

:EDIT: Additionally load up a fresh forum yourself and test it. Just load clean blue, switch to it and look at some boards and then send a pm. You will get the same errors posted. I don't see how it can't be theme related and yet altering the theme files fixes the errors?

:EDIT: And don't forget to do this as well as change the files. http://www.simplemachines.org/community/index.php?topic=253041.msg1650005#msg1650005

Niall Ramar

QuoteApply Filter: Only show the errors with the same message
8: Undefined offset: 336
File: /hermes/bosweb/web092/b929/ipg.harborcitypdcom/forum/Themes/CleanBlue/BoardIndex.template.php
Line: 204

I apparently have a new error today. It occurred when I was editing the order and number of child boards on the forum.

SlammedDime

Perhaps you're using an older version of the theme then... I downloaded a fresh one from the mod site and it works fine for me.  I browsed the site, sent a PM, searched PM's... no errors in the error log.

ETA: My bad, I do get some errors now.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

gbsothere

#37
The problem is that the author seemed to have left out language strings.  That's really all I did before with Niall's earlier errors:  add strings to PersonalMessage.english.php (and just tweaked on the template in a couple of places; probably unnecessary). 


What Niall is showing now is also mentioned here, but never resolved:

http://www.simplemachines.org/community/index.php?topic=254024.msg1648905#msg1648905


Same thing; no language strings.   At least not in index.english.php.   ???
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Niall Ramar

So far as I can tell none of these errors are effecting usability of the site at all, but I'm the only one on this theme at this time and I'm getting 2-3 pages of errors just doing some basic forum admin stuff here and there. I can't imagine the huge lists of error's I'll be getting later when/if I was to push this theme into production with the rest of my members.

SlammedDime

I've sent a message to the author asking to update the theme with the errors corrected.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: