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.


Fatal error: Allowed memory size of...

Login / Search

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

Honoured member

Hi, i was wondering if someone could give me some advice.

I am trying to import a wordpress blog in .xml format, and i am getting the following error;

ocPortal said

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 96394 bytes) in [location]/sources/tempcode.php on line 1218

Critical error – bailing out

This is an error that has been elevated to critical error status because it occured during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
Allowed memory size of 67108864 bytes exhausted (tried to allocate 96394 bytes) [sources/tempcode.php at 1218]Details here are intended only for the website/system-administrator, not for regular website users.
» If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file).
ocProducts maintains full documentation for all procedures and tools. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.


I have done a search of this forum and one possible solution was quoting out / removing the limit section in the global2.php but when i did that the whole site died.

Any other suggestions would be really appreciated...i've been trying lots of different CMS platforms and would like to try and get something working with ocPortal as it suits me the best.

Thanks so much,

Ollie
Back to the top
 
Posted
Rating:
#79885
Avatar

Hmm, that's a weird one. My immediate thought was the XML file might be huge, but this is an error coming from the Tempcode system which implies it is outputting a lot of data not just processing it. I suppose it could have tripped up somewhere then ended up trying to output the whole XML file.

Regardless, if you open a support ticket with the XML file we'll look into it as soon as we get a bit of time.


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:
#79921
Avatar

Fan in action

Still please submit your concern with the WordPress import, but if you keep running into issues and have another backup to play with, you could always try doing a a flip, flop,flip.

Convert to import Word Press into phpBB and then take phpBB and import it into ocPortal. Maybe via CVS or maybe you have reasons for xml?

"You Can't Always Get What You Want"
Mick Jagger, Rolling Stones: 1969~Let It Bleed Album 
Back to the top
 
Posted
Rating:
#79922
Avatar

I just imported a XML file from Wordpress's test suite. It's actually not a problem importing at all, it's a problem on the choose-what-to-edit screen.

We've got the default pagination limit far too high, at 300, which uses too much memory. It wasn't an issue previously in ocPortal but relatively recently we changed the interface from a simple selection list, to a more detailed table.

In sources/aed_module.php change:

Code

get_param_integer('max',300)
to

Code

get_param_integer('max',50)


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:
#80066
Avatar

Honoured member

Thanks Chris, i really appreciate this. Will do another import tomorrow and let you know how it goes.

Ollie
Back to the top
 
Posted
Rating:
#80233
Avatar

Honoured member

I've had this problem again  

Forums
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7680 bytes) in /home6/teenibdc/public_html/dietjustice/portal/sources/tempc
ode.php(1579) : eval()'d code on line 1

I was trying to import my Blogspot blog via RSS. I lowered the "get_param_integer('max',50)" down to 10 and still no luck.

All i want to do is transfer my blog over!
Back to the top
 
Posted
Rating:
#80314
Avatar

What URL do you see this error message on? :(


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:
#80390
Avatar

Honoured member

It happened when i tried to import from blogger to ocPortal via the RSS/Atom option. The URL i used as the source for the import is as follows;

http://www.blogger.com/feeds/8275069081497229063/posts/default?max-results=500

The last time i did it, i got the error message i mentioned above. Despite the error message, about 10-20 articles were actually transfered across.

I tried to replicate it today and didnt get an error message. However it took me to a blank page with the word 'Forums' in the top left corner. I have no idea why…any ideas? Again, the same 10-20 articles were transfered over.

I've said it before, and i'll say it again…all i want to do is transfer the articles across so i can begin using ocPortal properly. Without the articles, i cant use ocPortal.

Just to prove im not a time waster; my blog is Diet Justice . As you can see, its well established, and well read by the police, law, and politics community in the UK…a big market that i would happily share the good word of ocPortal with…were i able to actually use it.
Back to the top
 
Posted
Rating:
#80421
Avatar

I replied to your ticket last night and incorporated a reply to the above. However as it was late I missed a few details, so this morning I am tuning the import a little more:
  • Fix links between articles (in the dump they all go to blogger still)
  • Import rep-images
  • Import multiple categorisation of articles
  • Import edit dates


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:
#80422
Avatar

Works great :).


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:
#80428
Avatar

Community saint

Chris Graham said

Works great :).
You had some doubts …?

 :lol:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#80431
Avatar

Well, things never work first time when programming. So it was maybe 30 minutes of debugging until it did, but I wanted to report it ultimately worked so as to avoid any confidence issue ;).


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:
#80432
Avatar

Community saint

…so as to avoid any confidence issue
The only confidence issue(s) I suffer from are when I am told, "…your crap theme doesn't work!" (not exactly in those words) without any explanation as to 'how'. Then I am told it is OK, but not the reason 'why'.

Users appear to be spontaneously critical, and I can include myself among them, so I understand perfectly well, and have stopped beating myself up!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#80433
Avatar

Yeah that kind of thing drives me up the wall too :lol:.


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:
#80446
Avatar

Honoured member

Cheers Chris...replied to the support ticket!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: