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.


I have been getting an error when I try to save something on my website

Login / Search

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

Community saint

I have been getting this error when I try to save something on my website

Unrecognised XML in /home/davidlfr/public_html/persistant_cache/ocp5_cache/cached_for=side_users_online,identifier=6956929ab8338f77a46b718ddb4a94dd,lang=EN,the_theme=theblues.xml (version: 8.0.1, PHP version: 5.2.17, URL: /cms/index.php?page=cms_comcode_pages&type=__ed&wide=1&keep_fatalistic=1)


I would include the stack trace except I keep getting this error on ocPortal's FORUM

There is an error (A syntax error was found inside a tag's attribute definition (attribute Me" of tag block)) in your Comcode at line 910.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#86951
Avatar

Looks like the file-system cache has corrupted.

Try disabling the 'File-system caching' option, we don't really recommend it as this can happen in some rare circumstances.

Admin Zone > Setup > Configuration > Site options > Caches.


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
 
Posted
Rating:
#86953
Avatar

Community saint

I did what you said and now I can save pages and such however when I use a mail form and either preview or send the message I am getting this message

Stack Trace

An error has occurred

PHP ERROR [1] Call to undefined function mail_wrap() in sources/blocks/main_contact_us.php on line 85 (version: 8.0.1, PHP version: 5.2.17, URL: /index.php?page=buying_my_artwork&redirected=1&keep_fatalistic=1)

You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from).

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website 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, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/davidlfr/public_html/sources/failure.php'
Line '684'
Function 'get_html_trace'
Args  

File '/home/davidlfr/public_html/sources/global2.php'
Line '979'
Function '_fatal_exit'
Args

'PHP ERROR [1] Call to undefined function mail_wrap() in sources/blocks/main_contact_us.php on line 85'


File '/home/davidlfr/public_html/sources/failure.php'
Line '217'
Function 'fatal_exit'
Args

'PHP ERROR [1] Call to undefined function mail_wrap() in sources/blocks/main_contact_us.php on line 85'


File '/home/davidlfr/public_html/sources/global2.php'
Line '853'
Function '_ocportal_error_handler'
Args

'error'

1

'Call to undefined function mail_wrap()'

'sources/blocks/main_contact_us.php'

85


File '/home/davidlfr/public_html/sources/global2.php'
Line '789'
Function 'ocportal_error_handler'
Args

1

'Call to undefined function mail_wrap()'

'/home/davidlfr/public_html/sources/blocks/main_contact_us.php'

85


Function 'catch_fatal_errors'
Args  

Parameters

_comment_form_post
1
_validated
1
comcode__post
1
title
ok another test from HTBDLF Artwork
email
dave@davidlfriend.com
post
ok another test from HTBDLF Artwork
http_referer
http://davidlfriend.com/index.php?page=buying_my_artwork&keep_fatalistic=1&redirected=1


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#86955
Avatar



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
 
Posted
Rating:
#86956
Avatar

Community saint

I didn't see where this file goes?

Never mind I see it now


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#86957
Avatar

Community saint

It's going to go in /sources/blocks.

Bob

EDIT: Oops, I was a little late with that.
Back to the top
 
Posted
Rating:
#86958
Avatar

Community saint

Thank you Bob

The hotfix worked on the send part however I am still getting an error on the mail preview"

Expand: Stack Trace inside Stack Trace inside




Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#86959
Avatar

Community saint

To make it a bit weirder I am getting the stack trace on one computer but but on another.

Getting it on Windows XP with Firefox
Not getting it on Windows VISTA with Firefox

Even after I cleared both the computer's cache etc.

If that helps?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Important!
Posted
Rating:
#86961
Avatar

Automated fix message

friendly said

Thank you Bob

The hotfix worked on the send part however I am still getting an error on the mail preview"

Expand: Stack Trace inside Stack Trace inside


This issue has been filed on the tracker as issue #585, with a fix.


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.
Important!
 
Posted
Rating:
#86965
Avatar

Community saint

Thank you Chris the fix worked!


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: