HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Problems creating new theme

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#28470 (In Topic #6542)
Avatar

Community saint

When I tried to create new theme with the help of theme wizard, after a 4th step I got this:

Fatal error: Maximum execution time of 15 seconds exceeded in /home/clients/testas.klajoklis.lt/public_html/sources/themes
2.php on line 885

besides,
Theme works, but the graphics was not changed into the new color scheme. I did see the changed graphics in the preview window
Back to the top
 
Posted
Rating:
#28487
Avatar

It sounds like the server's a little bit bogged down, and it also looks like they've halved the normal PHP script timeout at the same time as not letting you change it (due to PHP safe mode). That's a bit mean of the web host to be honest.
But still, we've designed the theme wizard to be "reentrant". This means that when you see a timeout message, you can hit refresh in the browser. Each time the process will get closer to finishing.

This said, it should not take more than a few goes.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#28502
Avatar

Community saint

Now I got another message after the step 4:

Error

    The requested operation could not be performed by the proxy.

    Document contains no data

The theme works, but it doesnt have matching images

Back to the top
 
Posted
Rating:
#28506
Avatar

Community saint

Now i did more. I downloaded the nobody_fixer file fro your site and run it.

It showed me what files or dirs were changed. Among them there were (all exactly of the color I wanted):

Code

Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/page/new_topic.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/page/closed.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/page/mark_unread.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/page/track_forum.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/page/reply.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/ocf_topic_modifiers/involved.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/menus/menu_bullet.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/menus/menu_bullet_hover.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/menus/menu_bullet_current.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/arrow_box.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/top.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/arrow_box_hover.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/checklist/checklist-.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/checklist/checklist0.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/checklist/checklist1.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/contract.png
[b]Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/expand.png[/b]
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/treenav.png
Changed: /home/clients/testas.klajoklis.lt/public_html/themes/Enciklopedija_Khaki/images/help_panel_hide.png
But when I applied this theme to my custom zone, I have checked the arrow file. Its address was:
http://testas.klajoklis.lt/themes/default/images/expand.png

Somehow the zone takes pictures from the default theme, not from the new one
Back to the top
 
Posted
Rating:
#28629
Avatar

If the theme was used before it was finished, then the image mappings would go to the images in the default theme, because the new ones wouldn't have been found in time. I have cleared your image cache and it now it has mapped correctly.

I believe the error message you received is due to a slow server. I'll be looking into that shortly.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message:



   

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


An error has occurred

Unfortunately a query has failed [INSERT INTO ocp2_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, `get`, post, milliseconds) VALUES (0, 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'http://commoncrawl.org/faq/', 'forum/pages/modules/topicview.php', '54.158.241.232', -1642290172, 1495955130, '', '<param>page=topicview</param>\n<param>type=misc</param>\n<param>id=6542</param>\n', '', 0)] [Duplicate entry '19560025' for key 'PRIMARY'] (version: 8-RC3, PHP version: 7.0.19, URL: /forum/topicview/misc/deploying/problems_creating_new.htm)

Here is the stack trace:

The staff have been provided a ‘stack trace’ which may help them diagnose the problem.