Jump to content

Cannot Create New Calendar Events


RazorSEdge

Recommended Posts

Posted

Hello, 

I have been experiencing an issue for some time now where only my Admin account cannot create new calendar events.  When trying to create a new event I get the "Sorry, there is a problem.  Something went wrong.  Please try again.  Error code: EX0."

I have tested with numerous other accounts (logging in as another user through ACP) and creating events works just fine for all of them.

Below is a copy of the System Log that is generated after getting the error.  Any help would be greatly appreciated!  

Tue, 15 Mar 2016 11:09:04 +0000 (Severity: 2)
12.34.567.89 - http://lawenforcementroleplay.com/calendar/submit/?_new=1
OutOfRangeException
0: 
#0 /home/********/public_html/applications/gallery/sources/Album/Album.php(577): IPS\Patterns\_ActiveRecord::load(14)
#1 /home/********/public_html/applications/gallery/sources/Album/Album.php(976): IPS\gallery\_Album->category()
#2 /home/********/public_html/system/Theme/Theme.php(694) : eval()'d code(4027): IPS\gallery\_Album->can('add')
#3 [internal function]: IPS\Theme\class_core_global_forms->nodeCascade(Array, false, 'add', true, NULL, Array, NULL, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#4 /home/********/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#5 /home/********/public_html/system/Theme/Theme.php(694) : eval()'d code(3824): IPS\Theme\_SandboxedTemplate->__call('nodeCascade', Array)
#6 /home/********/public_html/system/Theme/Theme.php(694) : eval()'d code(3824): IPS\Theme\SandboxedTemplate->nodeCascade(Array, false, 'add', true, NULL, Array, NULL, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#7 [internal function]: IPS\Theme\class_core_global_forms->node('event_album', '[]', false, Object(IPS\Http\Url), 'albums', Array, NULL, NULL, 'add', true, NULL, Array, NULL, Array, Array, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#8 /home/********/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#9 /home/********/public_html/system/Helpers/Form/Node.php(263): IPS\Theme\_SandboxedTemplate->__call('node', Array)
#10 /home/********/public_html/system/Helpers/Form/Node.php(263): IPS\Theme\SandboxedTemplate->node('event_album', '[]', false, Object(IPS\Http\Url), 'albums', Array, NULL, NULL, 'add', true, NULL, Array, NULL, Array, Array, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#11 /home/********/public_html/system/Helpers/Form/FormAbstract.php(260): IPS\Helpers\Form\_Node->html()
#12 /home/********/public_html/system/Helpers/Form/Form.php(407): IPS\Helpers\Form\_FormAbstract->rowHtml(Object(IPS\Helpers\Form))
#13 /home/********/public_html/applications/calendar/modules/front/calendar/submit.php(56): IPS\Helpers\_Form->customTemplate(Array)
#14 /home/********/public_html/system/Dispatcher/Controller.php(94): IPS\calendar\modules\front\calendar\_submit->manage()
#15 /home/********/public_html/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
#16 /home/********/public_html/index.php(13): IPS\_Dispatcher->run()
#17 {main}
------------------------------------------------------------------------
Tue, 15 Mar 2016 15:59:19 +0000 (Severity: 2)
178.137.80.65 - http://lawenforcementroleplay.com/register/
IPS\Http\Request\CurlException
28: Operation timed out after 0 milliseconds with 0 out of 0 bytes received
#0 /home/********/public_html/system/Http/Request/Curl.php(380): IPS\Http\Request\_Curl->_execute()
#1 /home/********/public_html/system/Http/Request/Curl.php(276): IPS\Http\Request\_Curl->_executeAndFollowRedirects()
#2 /home/********/public_html/system/Helpers/Form/Captcha/Recaptcha2.php(75): IPS\Http\Request\_Curl->post(Array)
#3 /home/********/public_html/system/Helpers/Form/Captcha.php(110): IPS\Helpers\Form\Captcha\_Recaptcha2->verify()
#4 /home/********/public_html/system/Helpers/Form/FormAbstract.php(158): IPS\Helpers\Form\_Captcha->getValue()
#5 /home/********/public_html/system/Helpers/Form/FormAbstract.php(138): IPS\Helpers\Form\_FormAbstract->setValue(true)
#6 [internal function]: IPS\Helpers\Form\_FormAbstract->__construct('captcha_field')
#7 /home/********/public_html/system/Helpers/Form/Captcha.php(55): call_user_func_array('parent::__const...', Array)
#8 /home/********/public_html/applications/core/modules/front/system/register.php(230): IPS\Helpers\Form\_Captcha->__construct()
#9 [internal function]: IPS\core\modules\front\system\_register::buildRegistrationForm()
#10 /home/********/public_html/init.php(434) : eval()'d code(48): call_user_func_array('parent::buildRe...', Array)
#11 /home/********/public_html/applications/core/modules/front/system/register.php(98): IPS\core\modules\front\system\hook9::buildRegistrationForm()
#12 [internal function]: IPS\core\modules\front\system\_register->IPS\core\modules\front\system\{closure}(Array)
#13 /home/********/public_html/system/Helpers/Wizard/Wizard.php(157): call_user_func(Object(Closure), Array)
#14 /home/********/public_html/applications/core/modules/front/system/register.php(146): IPS\Helpers\_Wizard->__toString()
#15 [internal function]: IPS\core\modules\front\system\_register->manage()
#16 /home/********/public_html/init.php(434) : eval()'d code(17): call_user_func_array('parent::manage', Array)
#17 /home/********/public_html/system/Dispatcher/Controller.php(94): IPS\core\modules\front\system\nexus_hook_register->manage()
#18 /home/********/public_html/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
#19 /home/********/public_html/index.php(13): IPS\_Dispatcher->run()
#20 {main}
------------------------------------------------------------------------
Tue, 15 Mar 2016 16:00:00 +0000 (Severity: 2)
71.241.200.117 - http://lawenforcementroleplay.com/?app=shoutbox&module=shoutbox&controller=shoutbox&do=shout
ErrorException
2: mb_substr() expects parameter 1 to be string, array given
#0 [internal function]: IPS\IPS::errorHandler(2, 'mb_substr() exp...', '/home/********/...', 975, Array)
#1 /home/********/public_html/system/File/File.php(975): mb_substr(Array, 0, 4)
#2 /home/********/public_html/system/File/File.php(883): IPS\_File->fullyQualifiedUrl(Array)
#3 /home/********/public_html/system/File/File.php(474): IPS\_File->load()
#4 /home/********/public_html/applications/shoutbox/modules/front/shoutbox/shoutbox.php(290): IPS\_File::get('core_Emoticons', Array)
#5 /home/********/public_html/applications/shoutbox/modules/front/shoutbox/shoutbox.php(182): IPS\shoutbox\modules\front\shoutbox\_shoutbox->formatShout('4 hours and cou...')
#6 [internal function]: IPS\shoutbox\modules\front\shoutbox\_shoutbox->shout()
#7 /home/********/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array)
#8 /home/********/public_html/applications/shoutbox/modules/front/shoutbox/shoutbox.php(42): IPS\Dispatcher\_Controller->execute()
#9 /home/********/public_html/system/Dispatcher/Dispatcher.php(129): IPS\shoutbox\modules\front\shoutbox\_shoutbox->execute()
#10 /home/********/public_html/index.php(13): IPS\_Dispatcher->run()
#11 {main}
------------------------------------------------------------------------
Tue, 15 Mar 2016 16:12:00 +0000 (Severity: 2)
12.34.567.89 - http://lawenforcementroleplay.com/?app=shoutbox&module=shoutbox&controller=shoutbox&do=shout
ErrorException
2: mb_substr() expects parameter 1 to be string, array given
#0 [internal function]: IPS\IPS::errorHandler(2, 'mb_substr() exp...', '/home/********/...', 975, Array)
#1 /home/********/public_html/system/File/File.php(975): mb_substr(Array, 0, 4)
#2 /home/********/public_html/system/File/File.php(883): IPS\_File->fullyQualifiedUrl(Array)
#3 /home/********/public_html/system/File/File.php(474): IPS\_File->load()
#4 /home/********/public_html/applications/shoutbox/modules/front/shoutbox/shoutbox.php(290): IPS\_File::get('core_Emoticons', Array)
#5 /home/********/public_html/applications/shoutbox/modules/front/shoutbox/shoutbox.php(182): IPS\shoutbox\modules\front\shoutbox\_shoutbox->formatShout('Patrol Tonight!...')
#6 [internal function]: IPS\shoutbox\modules\front\shoutbox\_shoutbox->shout()
#7 /home/********/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array)
#8 /home/********/public_html/applications/shoutbox/modules/front/shoutbox/shoutbox.php(42): IPS\Dispatcher\_Controller->execute()
#9 /home/********/public_html/system/Dispatcher/Dispatcher.php(129): IPS\shoutbox\modules\front\shoutbox\_shoutbox->execute()
#10 /home/********/public_html/index.php(13): IPS\_Dispatcher->run()
#11 {main}
------------------------------------------------------------------------
Tue, 15 Mar 2016 17:49:34 +0000 (Severity: 2)
12.34.567.89 - http://lawenforcementroleplay.com/calendar/submit/?_new=1
OutOfRangeException
0: 
#0 /home/********/public_html/applications/gallery/sources/Album/Album.php(577): IPS\Patterns\_ActiveRecord::load(14)
#1 /home/********/public_html/applications/gallery/sources/Album/Album.php(976): IPS\gallery\_Album->category()
#2 /home/********/public_html/system/Theme/Theme.php(694) : eval()'d code(4027): IPS\gallery\_Album->can('add')
#3 [internal function]: IPS\Theme\class_core_global_forms->nodeCascade(Array, false, 'add', true, NULL, Array, NULL, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#4 /home/********/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#5 /home/********/public_html/system/Theme/Theme.php(694) : eval()'d code(3824): IPS\Theme\_SandboxedTemplate->__call('nodeCascade', Array)
#6 /home/********/public_html/system/Theme/Theme.php(694) : eval()'d code(3824): IPS\Theme\SandboxedTemplate->nodeCascade(Array, false, 'add', true, NULL, Array, NULL, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#7 [internal function]: IPS\Theme\class_core_global_forms->node('event_album', '[]', false, Object(IPS\Http\Url), 'albums', Array, NULL, NULL, 'add', true, NULL, Array, NULL, Array, Array, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#8 /home/********/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#9 /home/********/public_html/system/Helpers/Form/Node.php(263): IPS\Theme\_SandboxedTemplate->__call('node', Array)
#10 /home/********/public_html/system/Helpers/Form/Node.php(263): IPS\Theme\SandboxedTemplate->node('event_album', '[]', false, Object(IPS\Http\Url), 'albums', Array, NULL, NULL, 'add', true, NULL, Array, NULL, Array, Array, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#11 /home/********/public_html/system/Helpers/Form/FormAbstract.php(260): IPS\Helpers\Form\_Node->html()
#12 /home/********/public_html/system/Helpers/Form/Form.php(407): IPS\Helpers\Form\_FormAbstract->rowHtml(Object(IPS\Helpers\Form))
#13 /home/********/public_html/applications/calendar/modules/front/calendar/submit.php(56): IPS\Helpers\_Form->customTemplate(Array)
#14 /home/********/public_html/system/Dispatcher/Controller.php(94): IPS\calendar\modules\front\calendar\_submit->manage()
#15 /home/********/public_html/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
#16 /home/********/public_html/index.php(13): IPS\_Dispatcher->run()
#17 {main}
------------------------------------------------------------------------

 

Posted
1 hour ago, Adlago said:

@Razor S Edge In your Gallery there are too many missing images. Probably your account uploaded. The lack of images has a problem to create event calendar.

missing_img.png

*Insert choice word here* lol.  Makes sense, I recently had to migrate to a new host to save some $$.  During the migration I did lose some gallery images but did not think that it was going to affect so many other things.

Thank you for your help (now time to re-upload that directory and hope they all upload this time......8k files ........)

*Edit*  I think those files are gone forever.   :( 

Posted

I was able to restore nearly 30k files from the uploads directory from some previous backups that somehow became missing during the server migration, unfortunately I am still having the same issue.  I am confident that there are no more missing gallery files or files from uploads for that matter, however, what is the best way to check that?

Good news though, I haven't found any broken images yet since restoring those 30k files.

  • 2 weeks later...
Posted

I am still receiving the following error and log output after restoring files:

OutOfRangeException:  (0)
#0 /home/**********/public_html/applications/gallery/sources/Album/Album.php(584): IPS\Patterns\_ActiveRecord::load(14)
#1 /home/**********/public_html/applications/gallery/sources/Album/Album.php(983): IPS\gallery\_Album->category()
#2 /home/**********/public_html/system/Theme/Theme.php(694) : eval()'d code(4078): IPS\gallery\_Album->can('add')
#3 [internal function]: IPS\Theme\class_core_global_forms->nodeCascade(Array, false, 'add', true, NULL, Array, NULL, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#4 /home/**********/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#5 /home/**********/public_html/system/Theme/Theme.php(694) : eval()'d code(3875): IPS\Theme\_SandboxedTemplate->__call('nodeCascade', Array)
#6 /home/**********/public_html/system/Theme/Theme.php(694) : eval()'d code(3875): IPS\Theme\SandboxedTemplate->nodeCascade(Array, false, 'add', true, NULL, Array, NULL, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#7 [internal function]: IPS\Theme\class_core_global_forms->node('event_album', '[]', false, Object(IPS\Http\Url), 'albums', Array, NULL, NULL, 'add', true, NULL, Array, NULL, Array, Array, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#8 /home/**********/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#9 /home/**********/public_html/system/Helpers/Form/Node.php(263): IPS\Theme\_SandboxedTemplate->__call('node', Array)
#10 /home/**********/public_html/system/Helpers/Form/Node.php(263): IPS\Theme\SandboxedTemplate->node('event_album', '[]', false, Object(IPS\Http\Url), 'albums', Array, NULL, NULL, 'add', true, NULL, Array, NULL, Array, Array, true, Array, 'IPS\\gallery\\Alb...', Array, Array, NULL, Array)
#11 /home/**********/public_html/system/Helpers/Form/FormAbstract.php(260): IPS\Helpers\Form\_Node->html()
#12 /home/**********/public_html/system/Helpers/Form/Form.php(465): IPS\Helpers\Form\_FormAbstract->rowHtml(Object(IPS\Helpers\Form))
#13 /home/**********/public_html/applications/calendar/modules/front/calendar/submit.php(49): IPS\Helpers\_Form->customTemplate(Array)
#14 /home/**********/public_html/system/Dispatcher/Controller.php(94): IPS\calendar\modules\front\calendar\_submit->manage()
#15 /home/**********/public_html/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
#16 /home/**********/public_html/index.php(13): IPS\_Dispatcher->run()
#17 {main}

Any idea what could still be hanging it up?

Posted
14 minutes ago, Nathan Explosion said:

No idea, but by now I would have raised a ticket for this to be looked at by IPS. If you haven't already, then do so.

Sent one in just now.

Posted

I had an issue similar to this.  You have some orphaned albums or images, they cause the corruption and since the calendar calls on the gallery function is errors out.  Have to let a tech in as it seems there is still a way they can do it through the Admin CP that is not readily available to us as customers.

Posted
On 3/27/2016 at 0:34 PM, GoAncestry said:

I had an issue similar to this.  You have some orphaned albums or images, they cause the corruption and since the calendar calls on the gallery function is errors out.  Have to let a tech in as it seems there is still a way they can do it through the Admin CP that is not readily available to us as customers.

Just now saw your post, however, you are correct.  I had an album with an invalid category which was throwing it off.  Everything is now finally working after support removed the album (with permission), which was not needed and shouldn't of been there anyways as it was an extremely old test album from when I first set up everything.

This also caused an issue with Blog entries being submitted too, which was cleared up as well.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...