We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Sitemap Generator Settings | Forum

Topic location: Forum home » Support » General Questions
bobby
bobby Oct 15 '13
when i save settings i get this error

Fatal error
: Allowed memory size of 78643200 bytes exhausted (tried to allocate 24 bytes) in /home3/mon/public_html/social/ow_core/entity.php on line 69
ross Team
ross Oct 17 '13
What settings are you trying to save?
fbkca
fbkca Oct 23 '13
Remove this line:


ow_plugins/sitemap/bol/Sitemap.php:    ini_set('memory_limit', '75M'); // 50M required per tests

ross Team
ross Nov 3 '13
Bobby, has the issue been resolved with FBKCA solution?
bobby
bobby Nov 4 '13

Quote from ross Bobby, has the issue been resolved with FBKCA solution?

i don know were to find the code and take it out
ross Team
ross Nov 4 '13
Bobby here's the path: ow_plugins/sitemap/bol/Sitemap.php
bobby
bobby Nov 5 '13
Thanks Gona try it
bobby
bobby Nov 6 '13
now i get this error


OW Debug - Warning Message: Invalid argument supplied for foreach() File: /home3/mon/public_html/social/ow_plugins/oaseo/bol/service.php Line: 628

OW Debug - Exception

Message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'blogs-user-post-would-you-wear-pizza-hut-perfume would-you-wear-' for key 'entry_unique' File: /home3/mon/public_html/social/ow_core/database.php Line: 331 Trace: #0 /home3/mon/public_html/social/ow_core/database.php(331): PDOStatement->execute() #1 /home3/mon/public_html/social/ow_core/database.php(564): OW_Database->execute('INSERT INTO `ow...', Array) #2 /home3/mon/public_html/social/ow_core/database.php(601): OW_Database->insert('INSERT INTO `ow...', Array) #3 /home3/mon/public_html/social/ow_core/base_dao.php(215): OW_Database->insertObject('ow_oaseo_slug', Object(OASEO_BOL_Slug)) #4 /home3/mon/public_html/social/ow_plugins/oaseo/bol/service.php(347): OW_BaseDao->save(Object(OASEO_BOL_Slug)) #5 /home3/mon/public_html/social/ow_plugins/oaseo/classes/slug_route.php(74): OASEO_BOL_Service->getSlugStringForEntity('blogs-user-post', '2112', Array, 'title') #6 /home3/mon/public_html/social/ow_core/router.php(259): OASEO_CLASS_SlugRoute->generateUri(Array) #7 /home3/mon/public_html/social/ow_core/router.php(276): OW_Router->uriForRoute('user-post', Array) #8 /home3/mon/public_html/social/ow_plugins/sitemap/bol/service.php(133): OW_Router->urlForRoute('user-post', Array) #9 /home3/mon/public_html/social/ow_plugins/sitemap/controllers/admin.php(228): SITEMAP_BOL_Service->createSitemap() #10 /home3/mon/public_html/social/ow_plugins/sitemap/controllers/admin.php(49): SitemapAdminForm->process(Array, Object(SITEMAP_CTRL_Admin)) #11 [internal function]: SITEMAP_CTRL_Admin->index(Array) #12 /home3/mona/public_html/social/ow_core/request_handler.php(266): ReflectionMethod->invokeArgs(Object(SITEMAP_CTRL_Admin), Array) #13 /home3/mon/public_html/social/ow_core/application.php(317): OW_RequestHandler->dispatch() #14 /home3/mon/public_html/social/index.php(65): OW_Application->handleRequest() #15 {main} Type: PDOException
fbkca
fbkca Nov 6 '13
Perhaps you should check with the developer, Puru... or perhaps, leave the line and increase the memory limit.
The Forum post is edited by fbkca Nov 6 '13
fbkca
fbkca Nov 6 '13
This is what my section looks like:


  public function __construct ($compress=true) {

//    ini_set('memory_limit', '512'); // 50M required per tests

    $this->compress = ($compress) ? '.gz' : '';


I just commented it out after I first changed the limit.

bobby
bobby Nov 6 '13
still get it
fbkca
fbkca Nov 6 '13
and if you only change the memory limit?