AOS portal error

Hello everyone

Did you install the module portal for AOS and their settings.

After installation, I got this error in joomla portal. (joomla 3.3.6 and PHP 5.3.28)

The joomla portal only works with php 5.4 but I get no graphics on suitecrm …

Any idea how to solve?

error

Warning: Invalid argument supplied for foreach() in …/public_html/joomla30/components/com_advancedopenportal/models/SugarObject.php on line 26

Tanks

Sérgio

Hi there,

Can you provide some screen shots?

Thanks,

Will.

Hi Will

tanks for your interest.

1-php Version 5.3 (native)

Error in joomla portal that makes interconnection with the suite / sugarcrm

×
Erro
You must be logged in to use the portal

Warning: Invalid argument supplied for foreach() in /home/rialp/public_html/joomla30/components/com_advancedopenportal/models/SugarObject.php on line 26

The suitecrm works well except the email engine.

2-PHP version 5.3

Among other errors, will not load graphics in suitecrm and portal joomla gets the same problema

( ! ) Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 36 in /home/rialp/public_html/suitecrm/include/SugarCharts/JsChart.php on line 719
Call Stack

Time Memory Function Location

1 0.0063 654664 {main}( ) …/index.php:0
2 0.8403 6936976 SugarApplication->execute( ) …/index.php:46
3 0.9597 9499992 SugarController->execute( ) …/SugarApplication.php:89
4 0.9599 9499960 SugarController->processView( ) …/SugarController.php:295
5 0.9783 9700432 SugarView->process( ) …/SugarController.php:348
6 1.5304 12848464 ViewClassic->display( ) …/SugarView.php:140
7 1.5305 12848560 SugarView->includeClassicFile( ) …/view.classic.php:67
8 1.5344 12852552 require_once( ‘/home/rialp/public_html/suitecrm/custom/modules/Home/index.php’ ) …/SugarView.php:712
9 1.5846 13546224 OutcomeByMonthDashlet->display( ) …/index.php:242
10 2.0992 13809632 Jit->display( ) …/OutcomeByMonthDashlet.php:116
11 2.0992 13809632 JsChart->display( ) …/Jit.php:70
12 2.0992 13810064 JsChart->processXML( ) …/JsChart.php:94
13 2.1195 13838040 preg_replace ( ) …/JsChart.php:719

( ! ) Warning: Invalid argument supplied for foreach() in /home/rialp/public_html/joomla30/components/com_advancedopenportal/models/SugarObject.php on line 26
Call Stack

Time Memory Function Location

1 0.0067 658672 {main}( ) …/index.php:0
2 0.1909 1676352 JApplicationCms->execute( ) …/index.php:40
3 0.1910 1676352 JApplicationSite->doExecute( ) …/cms.php:251
4 0.3452 2871984 JApplicationSite->dispatch( ) …/site.php:237
5 0.3544 2897008 JComponentHelper::renderComponent( ) …/site.php:191
6 0.3580 2912280 JComponentHelper::executeComponent( ) …/helper.php:332
7 0.3606 2954816 require_once( ‘/home/rialp/public_html/joomla30/components/com_advancedopenportal/advancedopenportal.php’ ) …/helper.php:352
8 0.3970 3091232 JControllerLegacy->execute( ) …/advancedopenportal.php:12
9 0.3970 3091312 AdvancedOpenPortalController->display( ) …/legacy.php:730
10 0.3977 3112384 JControllerLegacy->display( ) …/controller.php:34
11 0.4057 3159912 advancedopenportalViewlistcases->display( ) …/legacy.php:693
12 1.7213 3195600 SugarCasesConnection->getCases( ) …/view.html.php:22
13 1.7213 3195600 SugarCasesConnection->getContact( ) …/SugarCasesConnection.php:219
14 2.6863 3199712 SugarUpdate->__construct( ) …/SugarCasesConnection.php:214
15 2.6863 3199712 SugarObject->__construct( ) …/SugarUpdate.php:13

3- php version 5.4

Apparently everything works fine but I have no charts in suitecrm.

Mon Oct 27 15:10:27 2014 [782197][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_61bb1226-61dd-d756-bc60-53848adede26.xml
Mon Oct 27 15:10:27 2014 [782197][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_39551417-d421-d72e-bab5-538489b60b7e.xml
Mon Oct 27 15:10:27 2014 [782197][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_6e4f8b6e-f9f2-7c75-3305-538489398c41.xml
Mon Oct 27 15:10:35 2014 [782679][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_61bb1226-61dd-d756-bc60-53848adede26.xml
Mon Oct 27 15:10:37 2014 [782735][1][FATAL] Exception in Controller: String could not be parsed as XML
Mon Oct 27 15:10:51 2014 [783100][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_61bb1226-61dd-d756-bc60-53848adede26.xml
Mon Oct 27 15:10:51 2014 [783100][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_39551417-d421-d72e-bab5-538489b60b7e.xml
Mon Oct 27 15:10:51 2014 [783100][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_6e4f8b6e-f9f2-7c75-3305-538489398c41.xml
Mon Oct 27 15:10:57 2014 [783371][1][FATAL] Unable to return chart data, invalid xml for file cache/xml/a7b5871d-3661-2449-f626-53cfdabdf54d_39551417-d421-d72e-bab5-538489b60b7e.xml
Mon Oct 27 15:10:58 2014 [783427][1][FATAL] Exception in Controller: String could not be parsed as XML

Sérgio