cotonti.com : Foster - admin theme https://www.cotonti.com Laatste forum onderwerpen Cotonti en Tue, 03 Feb 2026 13:13:03 -0000 singh336 I got to admin > other > extra fields 

 

this error happens

 

Fatal error: Maximum execution time of 60 seconds exceeded in /home/www/streetlegalmods.com/system/cotemplate.php on line 585
#0 cot_diefatal(SQL error HY000: General error: 2006 MySQL server has gone away) called at [/home/www/streetlegalmods.com/system/database.php:568] #1 CotDB->query(INSERT INTO sed_cache (c_name, c_realm, c_expire, c_value) VALUES ('structure', 'i18n', 0, 'N;') ON DUPLICATE KEY UPDATE c_value=VALUES(c_value), c_expire=VALUES(c_expire)) called at [/home/www/streetlegalmods.com/system/cache.php:670] #2 MySQL_cache->flush() called at [/home/www/streetlegalmods.com/system/functions.php:1116] #3 cot_shutdown() 
Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1042

Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1044

Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1045

Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1046

Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1047

Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1048

Warning: Cannot modify header information - headers already sent by (output started at /home/www/streetlegalmods.com/system/functions.php:1113) in /home/www/streetlegalmods.com/system/functions.php on line 1049
Fatal error

2013-12-02 21:41

SQL error HY000: General error: 2006 MySQL server has gone away

GOM-TEAM.COM

 

]]>
Ma, 02 Dec 2013 21:45:34 -0000
Twiebie What is the SQL error you are getting?

]]>
Ma, 02 Dec 2013 12:56:51 -0000
singh336 When I try to navigate to extra fields section on admin panel it gives me some crazy SQL errors, im guessing this isn't related to the theme however

]]>
Ma, 02 Dec 2013 03:59:36 -0000
Twiebie Glad you like it, enjoy!

]]>
Thu, 28 Nov 2013 12:11:24 -0000
singh336 Hey just wanted to say this theme is kickass ! very professionally done !!

 

I'm going to tweak it to fit our darker main theme but its very well done. Good work.

]]>
Thu, 28 Nov 2013 03:01:48 -0000
Wadik Now I downloaded the latest version. I earned a page with extrafields. Thank Twiebie!

]]>
Di, 13 Aug 2013 19:12:56 -0000
Twiebie I still can't reproduce it. Even with PHP set to strict, on both localhost and a live server, it's not giving any errors.

If anyone else can reproduce it and/or has a test website that has the error, let me know.

]]>
Di, 13 Aug 2013 12:23:58 -0000
Wadik I removed the code (line 325-443) in the file (https://github.com/Twiebie/cot-foster/blob/master/themes/admin/foster/admin.extrafields.tpl#L325-L443).

I have earned.

Maybe it's because {} in the script?

Добавлено 5 минуты спустя:

For example in the Smarty tag is used for this {literal} http://www.smarty.net/docsv2/en/language.function.literal

]]>
Ma, 12 Aug 2013 09:45:59 -0000
tensh Hmm, I don't have any errors, I normally work on this tpl. BUT... I remember there was something odd with this section.

1. Which Cotonti does he use?
2. If not, maybe he should copy the TPL of this section from default theme? Should display if it's tpl issue.
3. Then maybe he can gradually format the tpl like it looks like in foster theme.

I think something might be wrong with the TPL because in the "HTML template" form field of the extrafield, the html get cut out (no endtag). If I copy the basic tpl there, everything is correct. I saw you're not using all system tags, like {ADMIN_EXTRAFIELDS_ROW_HTML} - I'm not sure if it's a good idea, the TPL might not be compatible with the system later with the development. But sure... the select field looks very nice thanks to this :/

 

]]>
Ma, 12 Aug 2013 07:12:57 -0000
Twiebie Sure, feel free to post them in the issue tracker at GitHub. It's easier to keep track of things that way.

Added 5 days later:

I'm trying to work out an issue posted by Wadik, see: https://github.com/Twiebie/cot-foster/issues/2

So far I've tried it on a few different hosts but none of them seem to have the issue.

Does anyone else have an idea what might be causing this?

Thanks.

]]>
Ma, 05 Aug 2013 12:43:44 -0000
tensh No problem :) 

I'm playing with this theme, it's really nice, I'll report more problems if spotted.

]]>
Ma, 05 Aug 2013 12:06:20 -0000
Twiebie Ah, well spotted! I'll push it to GitHub.

I'll clean up the page validation section a bit more when I have time, it's still a bit messy now.

Thanks!

]]>
Ma, 05 Aug 2013 11:43:00 -0000
tensh Awesome theme! Thank you very much! :)

Added 39 minutes later:

Edit: Hmm, I think the button "Validate page" in Page Administration is not working as it should. Hmm. (Cotonti 9.0.14)

Added 9 minutes later:

Edit2: aha, I know why: there's no "modalbox.css" in the admin header tpl. I think it should be at least added (copied from blogster theme), and then maybe adjusted.

Edit3: the success notifications make the page expand in "Structure" section if maxwidth toggle is on.

Added 5 minutes later:

modalbox.css that works well together with Foster theme:

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.jqmWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: auto;
  background-color: transparent;
  color: #333;
  padding: 10px;
  text-align: center;
}

.jqmWindow h4 {
  border-bottom: 1px dotted #b0c4de;
  font-size: 14px;
  margin: 0 0 7px 0;
  padding: 0 0 5px 0;
  text-align: left;
  color: #3E606F;
}

.jqmWindow p {
  text-align: right;
  margin: 15px 0 0 0;
  font-size: x-small;
  text-transform: lowercase;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  width: expression(this.parentNode.offsetWidth+'px');
  height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
  Star selector used to hide definition from browsers other than IE6
  For valid CSS, use a conditional include instead */
* html .jqmWindow {
  position: absolute;
  top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

 

]]>
Ma, 05 Aug 2013 08:48:17 -0000
Twiebie Thanks!

]]>
Thu, 25 Jul 2013 20:06:51 -0000
Aragorn-pc Very nice..

]]>
Thu, 25 Jul 2013 18:37:14 -0000
lukgoh  

Added 45 minutes later:

Never mind, updated it now and it looks awesome! 

]]>
Ma, 22 Jul 2013 19:03:40 -0000
Twiebie Hi mate,

Yep, sure. Can you elaborate what you find too close together and what you would like to see improved?

]]>
Ma, 22 Jul 2013 17:46:50 -0000
lukgoh Can you please take a look at the extra fields page? I'm sorry I didn't mention it earlier I just remembered when I saw your post. 

Anyway they are displayed too close together and it's a little confusing which input fields belong to which extrafield. 

Luke.

]]>
Zo, 21 Jul 2013 21:53:39 -0000
Twiebie To make it easier to keep track of updates and other things, I'll put a forum topic here for the Foster administration panel theme.

Foster

The Foster theme can be found here: http://www.cotonti.com/themes/admin-panel/foster
The GitHub repository here: https://github.com/Twiebie/cot-foster


Updates:
Added a max-width toggle switch.
Added Russian language file by Trustmaster.

]]>
Zo, 21 Jul 2013 21:05:21 -0000