CoreBOSBB
CP Setup - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+---- Forum: coreBOS CP (https://discussions.corebos.org/forumdisplay.php?fid=12)
+---- Thread: CP Setup (/showthread.php?tid=9)

Pages: 1 2 3


Re: CP Setup - joebordes - 05-18-2014

The REST changes are ok, no need to do anything else.
Have you configured PortalConfig.php?


Re: CP Setup - Ekim - 05-18-2014

It is a shared GoDaddy server and I can not reach the ini file but have some configuration options. Timezone is not one of them. Maybe I should contact the hosting provider for this issue?

Thanks
Ekim


Re: CP Setup - Ekim - 05-18-2014

//This is the vtiger CRM server path i.e., the url to access the vtiger CRM server in browser
//Ex. if you access your vtiger CRM with <!-- m --><a class="postlink" href="http://mickie:90/vtiger/index.php">http://mickie:90/vtiger/index.php</a><!-- m --> you will use <!-- m --><a class="postlink" href="http://mickie:90/vtiger">http://mickie:90/vtiger</a><!-- m -->
$evocp_Server_Path = "http://crm.canadagec.com";

// The next two variables define the portal webservice user to be used to connect to the vtiger CRM server
// This user must be created and configured in your vtiger CRM application
$evocp_Login_User = 'admin';
$evocp_Access_Key = 'rRIP6idh1EeqOSyO'; /// proper key entered


Re: CP Setup - joebordes - 05-18-2014

It does seem to be a php configuration issue:

<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/2213608/php-configuration-it-is-not-safe-to-rely-on-the-systems-timezone-settings">http://stackoverflow.com/questions/2213 ... e-settings</a><!-- m -->
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/20743060/symfony2-and-date-default-timezone-get-it-is-not-safe-to-rely-on-the-system">http://stackoverflow.com/questions/2074 ... the-system</a><!-- m -->
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/20061861/php-datetime-throws-timezone-warning-even-though-date-timezone-set">http://stackoverflow.com/questions/2006 ... mezone-set</a><!-- m -->

in the first link there is a piece of code specifically for Yii:

Code:
Yii::app()->setTimeZone('UTC');

try that

PortalConfig.php looks correct


Re: CP Setup - Ekim - 05-18-2014

Oh Timezone is solved I think but now I get this error, also based on my experience I should build a tutorial for other users...

Error in main screen:

Customer Portal is not correctly configured.
Please contact your application administrator.


Re: CP Setup - Ekim - 05-18-2014

If I fix the variables I get a empty page. With wrong variables I get the last error.

<!-- m --><a class="postlink" href="http://canadagec.com/panel/index.php/site/login">http://canadagec.com/panel/index.php/site/login</a><!-- m -->
<!-- e --><a href="mailto:ekimunal@hotmail.com">ekimunal@hotmail.com</a><!-- e -->
****


Re: CP Setup - Ekim - 05-19-2014

Ok after all;
seems like the solution in my situation was :

PHP Set-up
display_errors On
error_reporting -E_ALL

PortalConfig
$evocp_Server_Path = "http://www.domain.com/folder";


Re: CP Setup - joebordes - 05-19-2014

I'm happy you got it working.
I would appreciate you posted all the changes you needed to do to get it working. I will add that to the wiki and also make any changes to the code you required.

Thanks


Re: CP Setup - Ekim - 05-20-2014

Make sure your php.ini file have datetime value properly;

Other PHP Set-up(from php.ini)
display_errors On
error_reporting -E_ALL

Set values in ../protected/config/PortalConfig.php
for your server values.

Have fun


Re: CP Setup - joebordes - 06-30-2014

Customer portal is now fully supported with no additional changes needed. I just installed a demo site of coreBOS 5.5

<!-- m --><a class="postlink" href="http://corebos.org/demos/corebos">http://corebos.org/demos/corebos</a><!-- m -->

and a customer portal

<!-- m --><a class="postlink" href="http://corebos.org/demos/coreboscp">http://corebos.org/demos/coreboscp</a><!-- m -->

I created a portal user, configured the portalconfig file and it worked with no additional issues nor steps besides installing and executing coreBOS Updater