• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenPorta (Portal)

Status
Not open for further replies.
I don't know what went wrong, but from yesterday night after going to bed till today morning our forum was giving an error. No member could post and no one could access the main page (portal). These were the two common errors that kept occurring and are in the logs:

ErrorException: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument - library/EWRporta/DataWriter/Discussion/Thread.php:35
Generated By: Freeze, Today at 6:30 AM
Stack Trace
#0 /home/orojacks/public_html/library/EWRporta/DataWriter/Discussion/Thread.php(35): XenForo_Application::handlePhpError(19, false)
#1 /home/orojacks/public_html/library/EWRporta/DataWriter/Discussion/Thread.php(15): EWRporta_DataWriter_Discussion_Thread->cachePromotions()
#2 /home/orojacks/public_html/library/XenForo/DataWriter/Discussion.php(383): EWRporta_DataWriter_Discussion_Thread->_discussionPostSave(Array)
#3 /home/orojacks/public_html/library/XenForo/DataWriter.php(1385): XenForo_DataWriter_Discussion->_postSave()
#4 /home/orojacks/public_html/library/XenForo/DataWriter/DiscussionMessage.php(1039): XenForo_DataWriter->save()
#5 /home/orojacks/public_html/library/XenForo/DataWriter/DiscussionMessage.php(522): XenForo_DataWriter_DiscussionMessage->_saveDiscussionDataWriter()
#6 /home/orojacks/public_html/library/XenForo/DataWriter.php(1385): XenForo_DataWriter_DiscussionMessage->_postSave()
#7 /home/orojacks/public_html/library/XenForo/ControllerPublic/Thread.php(505): XenForo_DataWriter->save()
#8 /home/orojacks/public_html/library/XfRu/MergeDoubleUserPost/ControllerPublic/Thread.php(49): XenForo_ControllerPublic_Thread->actionAddReply()
#9 /home/orojacks/public_html/library/XenForo/FrontController.php(310): XfRu_MergeDoubleUserPost_ControllerPublic_Thread->actionAddReply()
#10 /home/orojacks/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/orojacks/public_html/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(76) "http://orojackson.com/threads/good-night-topic-one-post-per-day.44/add-reply"

and

ErrorException: Undefined index: limit - library/EWRporta/Block/RecentNews.php:7
Generated By: CapnLuffy, 20 minutes ago
Stack Trace
#0 /home/orojacks/public_html/library/EWRporta/Block/RecentNews.php(7): XenForo_Application::handlePhpError(Array, 1)
#1 /home/orojacks/public_html/library/EWRporta/Model/Blocks.php(112): EWRporta_Block_RecentNews->getModule(Array, 1)
#2 /home/orojacks/public_html/library/EWRporta/ViewPublic/Custom.php(67): EWRporta_Model_Blocks->getBlockParams()
#3 /home/orojacks/public_html/library/XenForo/ViewRenderer/Abstract.php(215): EWRporta_ViewPublic_Custom->renderHtml('EWRporta_ViewPu...', 'Html', Array, 'EWRporta_Portal')
#4 /home/orojacks/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(67): XenForo_ViewRenderer_Abstract->renderViewObject('EWRporta_ViewPu...', Array, 'EWRporta_Portal', NULL)
#5 /home/orojacks/public_html/library/XenForo/FrontController.php(533): XenForo_ViewRenderer_HtmlPublic->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#6 /home/orojacks/public_html/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView()
#7 /home/orojacks/public_html/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
["url"] => string(22) "http://orojackson.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Any idea what's wrong?
 
I re-uploaded the XenPorta files and upgraded the add-on again, and things seems to have been fixed. But I'd like to know what caused that error so that I don't repeat the same mistake again :eek:
 
Thanks a lot for the awesome addon! You've done an amazing job.

Is there any way to keep track of updates for this addon? Something like a twitter feed?
 
I'm sorry if I'm being dense, how do I edit layouts? I want to just drag the modules from disabled into the right place on the page but they aren't dragable, they're just text in boxes.
 

Attachments

  • Screen Shot 2012-01-21 at 04.21.59.webp
    Screen Shot 2012-01-21 at 04.21.59.webp
    15.6 KB · Views: 30
They should be draggable. Make sure you any admin permissions set to edit them.

Also it doesn't seem to work under iOS, they won't drag on my iPad.
 
They should be draggable. Make sure you any admin permissions set to edit them.

Also it doesn't seem to work under iOS, they won't drag on my iPad.

Thanks for the reply. I'm using a Mac with Chrome but have tried Firefox. I've set myself full permissions and it's still not draggable :( will try creating another user and seeing how that works out.

I've created a new administrator user and still no luck. I'm super administrator and I allowed ALL permissions for my group and made sure I was in the administrator group and still, the layout editor isn't draggable :(

I'm using Flexile theme and have enabled 8wayrun plugins.

Hope someone can help me
 
Thanks for the reply. I'm using a Mac with Chrome but have tried Firefox. I've set myself full permissions and it's still not draggable :( will try creating another user and seeing how that works out.

I've created a new administrator user and still no luck. I'm super administrator and I allowed ALL permissions for my group and made sure I was in the administrator group and still, the layout editor isn't draggable :(

I'm using Flexile theme and have enabled 8wayrun plugins.

Hope someone can help me

Oh wow, I've finally figured out what I did wrong.

When I installed the addon I just uploaded the library folder contents to the library folder on the server. I didn't do the JS one! So naturally the javascript for the draggableness wasn't there! Doh!
 
Would it be possible have / create a block for Recently Created Threads, compared to the RecentThreads block which shows threads with recent posts? :)
 
I would like the News module to automatically display thumbnails of attached images on the home page at the bottom of the message container similar to this site.

I would like to display thumbnails only if there are at least three attached to the thread that can be displayed. I would also like these thumbnails to appear in the order they were uploaded.

I am aware that embedding thumbnails in the content and having that displayed on the home page as part of the content being pulled from the thread, but I would like something more sophisticated.

I realize this may require tweaking certain files, but I was hoping to get some feedback on how I might be able to accomplish this here.
 
Ok, searching this 200+page thread has been quite a task... well.. I am looking to rename /portal/ to /news/ so has someone done this? Many thanks.
 
Column Width
I'd like the option of controlling the width of the left and right columns independently. How difficult would this be? I'd be happy to offer a small donation to someone that can help.
 
Ok, searching this 200+page thread has been quite a task... well.. I am looking to rename /portal/ to /news/ so has someone done this? Many thanks.
Sadik, this may help you.

In case this does, do please report back. I would like to include this in the XenPorta User Guide, if it works. :)
 
Hmmm I just saw the posts. Basically they are for renaming /forum/ to something else. In my case I want to rename /portal/ (the Xenporta page, when it's not in index) to /news/ or /articles/ etc.

I may have to dig into the code for this one... :(
 
Status
Not open for further replies.
Back
Top Bottom