• 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.
Im have troubles getting the RecentNews module working, uninstalled re installed still no workie. Has anyone else experienced this?

Make sure you have the latest version of Porta.
Make sure you reimport the RecentNews.xml from the latest version download.
Make sure you reset the new settings in the module
Click >< to dump the cache after you are done.
(If you don't see the >< option, you have an older Porta version)
 
Make sure you have the latest version of Porta. - done
Make sure you reimport the RecentNews.xml from the latest version download. - done
Make sure you reset the new settings in the module - done
Click >< to dump the cache after you are done. - did
(If you don't see the >< option, you have an older Porta version)

No, it still wont work, just get the empty box like you see in the image. They all work but that one?

Picture1.webp Picture2.webp Picture3.webp
 
Im have troubles getting the RecentNews module working, uninstalled re installed still no workie. Has anyone else experienced this?

I have some issues regarding the recent news module. I updated XenPorta, as well as uploaded the new recent news module. But regardless how much forums I select for news to appear it only take those threads from the first forum that I've selected from the settings. I tried many variations but nothing seems to help.
 
No, it still wont work, just get the empty box like you see in the image. They all work but that one?
I have some issues regarding the recent news module. I updated XenPorta, as well as uploaded the new recent news module. But regardless how much forums I select for news to appear it only take those threads from the first forum that I've selected from the settings. I tried many variations but nothing seems to help.
Okay... I figured out the issue... as it turns out, the query preparation couldn't handle a comma delimited string...

Attached is a new version of EWRporta_Block_RecentNews which you can upload to your server if needed.

I will include the fixed file in the next release.
 

Attachments

I uploaded it, and set the forums for display but got the "unexpected database error"

This is what the server error says:

Mysqli statement execute error : Incorrect string value: '\xC3";s:7...' for column 'module_settings' at row 1
library/Zend/Db/Statement/Mysqli.php:214

Code:
#0 /home/path/public_html/library/Zend/Db/Statement.php(292): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/path/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/path/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `EW...', Array)
#3 /home/path/public_html/library/XenForo/DataWriter.php(1500): Zend_Db_Adapter_Abstract->insert('EWRporta_cache', Array)
#4 /home/path/public_html/library/XenForo/DataWriter.php(1489): XenForo_DataWriter->_insert()
#5 /home/path/public_html/library/XenForo/DataWriter.php(1291): XenForo_DataWriter->_save()
#6 /home/path/public_html/library/EWRporta/Model/Cache.php(31): XenForo_DataWriter->save()
#7 /home/path/public_html/library/EWRporta/ViewPublic/Portal.php(36): EWRporta_Model_Cache->buildModuleCache(Array, 'a:2:{s:6:"optio...')
#8 /home/path/public_html/library/XenForo/ViewRenderer/Abstract.php(212): EWRporta_ViewPublic_Portal->renderHtml()
#9 /home/path/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(69): XenForo_ViewRenderer_Abstract->renderViewObject('EWRporta_ViewPu...', 'Html', Array, 'EWRporta_Portal')
#10 /home/path/public_html/library/XenForo/FrontController.php(533): XenForo_ViewRenderer_HtmlPublic->renderView('EWRporta_ViewPu...', Array, 'EWRporta_Portal', NULL)
#11 /home/path/public_html/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#12 /home/path/public_html/index.php(15): XenForo_FrontController->run()
#13 {main}
 
I uploaded it, and set the forums for display but got the "unexpected database error"

This is what the server error says:

Mysqli statement execute error : Incorrect string value: '\xC3";s:7...' for column 'module_settings' at row 1
library/Zend/Db/Statement/Mysqli.php:214

Code:
#0 /home/path/public_html/library/Zend/Db/Statement.php(292): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/path/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/path/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `EW...', Array)
#3 /home/path/public_html/library/XenForo/DataWriter.php(1500): Zend_Db_Adapter_Abstract->insert('EWRporta_cache', Array)
#4 /home/path/public_html/library/XenForo/DataWriter.php(1489): XenForo_DataWriter->_insert()
#5 /home/path/public_html/library/XenForo/DataWriter.php(1291): XenForo_DataWriter->_save()
#6 /home/path/public_html/library/EWRporta/Model/Cache.php(31): XenForo_DataWriter->save()
#7 /home/path/public_html/library/EWRporta/ViewPublic/Portal.php(36): EWRporta_Model_Cache->buildModuleCache(Array, 'a:2:{s:6:"optio...')
#8 /home/path/public_html/library/XenForo/ViewRenderer/Abstract.php(212): EWRporta_ViewPublic_Portal->renderHtml()
#9 /home/path/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(69): XenForo_ViewRenderer_Abstract->renderViewObject('EWRporta_ViewPu...', 'Html', Array, 'EWRporta_Portal')
#10 /home/path/public_html/library/XenForo/FrontController.php(533): XenForo_ViewRenderer_HtmlPublic->renderView('EWRporta_ViewPu...', Array, 'EWRporta_Portal', NULL)
#11 /home/path/public_html/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#12 /home/path/public_html/index.php(15): XenForo_FrontController->run()
#13 {main}

No problems here....
Did you place this file in the right spot?
xxxxx/library/EWRporta/Block
 
I have seen that before....
If you can't clear the mod cache using the >< feature....
You may need to log into the database and delete the specific EWPorta_Cache entry that corresponds to the RecentNews module name.
(This happend to me for a mod I was working on seems the cache does not like the "degree" symbol either <- in my case anyways)
 
I have seen that before....
If you can't clear the mod cache using the >< feature....
You may need to log into the database and delete the specific EWPorta_Cache entry that corresponds to the RecentNews module name.
(This happend to me for a mod I was working on seems the cache does not like the "degree" symbol either <- in my case anyways)

I'm trying to unistall XenPorta, but get an error and can't ! Very strange, tying your way.
 
I have seen that before....
If you can't clear the mod cache using the >< feature....
You may need to log into the database and delete the specific EWPorta_Cache entry that corresponds to the RecentNews module name.
(This happend to me for a mod I was working on seems the cache does not like the "degree" symbol either <- in my case anyways)

It seems the table EWPorta_Cache entry isn't there and I can't delede the addon (I can delete other but this one).
 
It seems the table EWPorta_Cache entry isn't there and I can't delede the addon (I can delete other but this one).

OK, what I would do is, delete all entries in the EWPorta tables that reference RecentNews.
Once they are all gone, simply reimport the latest XML file and see if that fixes it.

I am suggesting this under the assumption that the mod works for your forum feeds, it is just stuck with the older mod settings.
It may - in the end - require more tweaking by Jaxel, I'm not sure.

But I did suffer these problems just the other day trying to get my weather mod loaded.
I just wiped out the EWPorta tables and reloaded when I needed too.
 
OK, what I would do is, delete all entries in the EWPorta tables that reference RecentNews.
Once they are all gone, simply reimport the latest XML file and see if that fixes it.

I am suggesting this under the assumption that the mod works for your forum feeds, it is just stuck with the older mod settings.
It may - in the end - require more tweaking by Jaxel, I'm not sure.

But I did suffer these problems just the other day trying to get my weather mod loaded.
I just wiped out the EWPorta tables and reloaded when I needed too.

Thank you Cory, I just run some mysql commands, in case the database itself has a problem, so far the diagnostic returned ok.
 
Okay... I figured out the issue... as it turns out, the query preparation couldn't handle a comma delimited string...

Attached is a new version of EWRporta_Block_RecentNews which you can upload to your server if needed.

I will include the fixed file in the next release.

That worked like a charm, problem solved! Thanks Jaxel
biggrin.png
 
Whatever I do, It doesn't create the cache table for recent news. I can't unistall the addon because I get "page not found error" after I submit.​
I even tried to manually remove the tables from the database and re-install it. After I do that I get this error:​
Override user style choice
Error: The PHP callback EWRporta_Option_StyleChooser::renderOption is not valid. It will not be possible to display this option until the problem is resolved by editing the option definition.
in the xenporta options in the admin area.
 
Deleted the tables from the database (+ xf_addons) and re-imported the xml file and configured everything. Now everything is functional.

Question: Is there a way just to show the first picture in the post, make it larger, center and get rid of the post content ?
 
maybe the first post should mention why there are two separate versions available for download and what the difference is?
i suppose i can look over 17 pages to learn the answer, but...
 
is there a way to revert to the earlier practice of using the avatar rather than having a linked image default as the 'news image'?
and can i revert to the normal font in the recent news module? this font is tiny.

n/m i edited the templates
 
Status
Not open for further replies.
Back
Top Bottom