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, which is now in beta. ocPortal 9 will be 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.


Problem with editing template

Login / Search

 [ Join | More ]
 Add topic 
|- ! File | '/home/spartan/public_html/home/sources/global2.php' |- ! Line | '671' |- ! Function | 'get_html_trace' |- ! Args |
|}
{| |- ! File | '/home/spartan/public_html/home/sources/global2.php' |- ! Line | '398' |- ! Function | 'clean_exit' |- ! Args | 'PHP WARNING [2] imagepng() [<a href=\'function.imagepng\'>function.imagepng</a>]: Unable to open \'/home/spartan/public_html/home/themes/spartan/images/checklist/checklist0.png\' for writing' |}
{| |- ! Function | 'ocportal_error_handler' |- ! Args | 2 'imagepng() [<a href=\'function.imagepng\'>function.imagepng</a>]: Unable to open \'/home/spartan/public_html/home/themes/spartan/images/checklist/checklist0.png\' for writing' '/home/spartan/public_html/home/sources/themes2.php' 194 array |}
{| |- ! File | '/home/spartan/public_html/home/sources/themes2.php' |- ! Line | '194' |- ! Function | 'imagepng' |- ! Args | NULL '/home/spartan/public_html/home/themes/spartan/images/checklist/checklist0.png' |}
{| |- ! File | '/home/spartan/public_html/home/adminzone/pages/modules/admin_themewizard.php' |- ! Line | '166' |- ! Function | 'make_theme' |- ! Args | 'spartan' '308830' true true |}
{| |- ! File | '/home/spartan/public_html/home/adminzone/pages/modules/admin_themewizard.php' |- ! Line | '65' |- ! Function | 'step4' |- ! Class | 'Module_admin_themewizard' |- ! Type | '->' |- ! Args |
|}
{| |- ! File | '/home/spartan/public_html/home/sources/zones.php' |- ! Line | '300' |- ! Function | 'run' |- ! Class | 'Module_admin_themewizard' |- ! Type | '->' |- ! Args |
|}
{| |- ! File | '/home/spartan/public_html/home/sources/site.php' |- ! Line | '639' |- ! Function | 'load_module_page' |- ! Args | 'adminzone/pages/modules/admin_themewizard.php' 'admin_themewizard' |}
{| |- ! File | '/home/spartan/public_html/home/sources/site.php' |- ! Line | '509' |- ! Function | 'request_page' |- ! Args | 'admin_themewizard' true |}
{| |- ! File | '/home/spartan/public_html/home/adminzone/index.php' |- ! Line | '42' |- ! Function | 'do_site' |- ! Args |
|}
Posted
Rating:
#25136 (In Topic #5934)
Avatar

Fan in action

I hate to keep posting new threads, but this thread really isn't the same as the other. I don't see the error anymore either, but it was there.  My question now is when I am trying to create a new template. After I choose dark template and change the color to the green I need.. it asks me for my FTP info. I enter it and I get this error. My FTP info is correct so I am not sure whats going on...

PHP WARNING [2] imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '/home/spartan/public_html/home/themes/spartan/images/checklist/checklist0.png' for writing (ocPortal version: 3.0.12, PHP version: 5.1.6, URL: /home/adminzone/index.php?page=admin_themewizard&type=step4)

Here is the stack trace:

Below is a stack trace revealing the state ocPortal was in when the error occured. If this represents a bug in ocPortal's unmodified software, you may want to check ocportal.com for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, the human situation, version numbers, and any other appropriate information.
We apologise for this problem and hope you will work with us so that we can fix it promptly. {|
Back to the top
 
Posted
Rating:
#25142
Avatar

The bug report for this has been linked to in your other topic.
I believe you didn't get the error a second time because you unclicked (purposely or not) the 'requires FTP' tickbox. This works on systems without 'PHP safe mode'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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: