Type 8 error now can't log on even as admin

Place to post info about all glitches You have found within epesi. Solutions are also welcome.

Type 8 error now can't log on even as admin

Postby nemo656 on Thu Mar 04, 2010 6:35 am

I am attempting to test the epesi system for a company that I service. It all went well and looked very good. The setup was easy, I logged in as admin, made a few contacts, created a project, added in some notes and really liked what I was seeing. I then added an office user, with minimal security. I logged on as that user and so far so good, and that user created some contacts and some notes etc. Then that user attempted to load the module for the calendar, and that was the last I was able to see the site. It would not let me log off I kept getting this type 8 error.

Code: Select all
Type: 8
Message: Undefined index:
File: /home/integrat/public_html/crm/data/cache/common.php
Line=7993
error backtrace:
File: /home/integrat/public_html/crm/data/cache/common.php
    line 7993
    function called: handle_epesi_error

File: /home/integrat/public_html/crm/modules/Applets/MonthView/MonthView_0.php
    line 28
    function called: get_available_colors

File: /home/integrat/public_html/crm/modules/Applets/MonthView/MonthView_0.php
    line 87
    function called: month_array

[PHP core called function]
    function called: applet

File: /home/integrat/public_html/crm/include/module.php
    line 787
    function called: call_user_func_array

File: /home/integrat/public_html/crm/modules/Base/Dashboard/Dashboard_0.php
    line 107
    function called: get_html_of_module

File: /home/integrat/public_html/crm/modules/Base/Dashboard/Dashboard_0.php
    line 64
    function called: display_dashboard

File: /home/integrat/public_html/crm/modules/Base/Dashboard/Dashboard_0.php
    line 27
    function called: dashboard

[PHP core called function]
    function called: body

File: /home/integrat/public_html/crm/include/module.php
    line 787
    function called: call_user_func_array

File: /home/integrat/public_html/crm/include/module.php
    line 707
    function called: get_html_of_module

File: /home/integrat/public_html/crm/modules/Base/Box/Box_0.php
    line 144
    function called: display_module

File: /home/integrat/public_html/crm/include/epesi.php
    line 196
    function called: body

File: /home/integrat/public_html/crm/include/epesi.php
    line 239
    function called: go

File: /home/integrat/public_html/crm/process.php
    line 32
    function called: process



I closed the browser and tried to log on as Admin and got the same error. I was very disappointed because this entire project looks very promising.

Is there an answer or a fix for this?

Thanks
Have a great day
Jim
nemo656
 
Posts: 5
Joined: Thu Mar 04, 2010 6:25 am

Re: Type 8 error now can't log on even as admin

Postby Ethnar on Thu Mar 04, 2010 8:43 am

Hello,

Looking at the code the error seems a bit odd... it certainly looks like it should work fine, I need to investigate this more.

Could you please edit /data/config.php, disable (set to 0) "COMMON_CACHE", then trigger the error once again and post it here?

Most likely, a quick fix (that doesn't really reach the core of the issue) would be to change method get_available_colors() in modules/CRM/Calendar/Event/EventCommon_0.php, line 53 to:
Code: Select all
   public static function get_available_colors() {
      static $color = array(0 => '', 1 => 'green', 2 => 'yellow', 3 => 'red', 4 => 'blue', 5=> 'gray', 6 => 'cyan', 7 =>'magenta');
      $tmp = Base_User_SettingsCommon::get('CRM_Calendar','default_color');
      if (!$tmp) $tmp=1;
      $color[0] = $color[$tmp];
      return $color;
   }


Is there any chance for us to take a look at the database? Perhaps a DB dump?
Also - please specify what version of epesi you're using.

Thanks for the report,
Arek
User avatar
Ethnar
Epesi Team
 
Posts: 221
Joined: Mon Jun 25, 2007 8:35 am

Re: Type 8 error now can't log on even as admin

Postby nemo656 on Sun Mar 07, 2010 8:03 am

Oh I am so sad, I got disgusted with trying to get it to work without errors. I went as far as deleting everything and starting over from scratch. Once again I was able to set up and log in as admin and all is well. I created a user, and now I am getting a similar but different error when I accessed the phone calls. I did as you asked and changed the common cache to 0 and the errors are still there. Although this time the scripts still run and do not lock me out of the site. Anyway I will past the new error here.

Code: Select all
Type: 8
Message: Undefined index: contact
File: /home/integrat/public_html/gw/modules/CRM/PhoneCall/PhoneCallCommon_0.php
Line=114
error backtrace:
File: /home/integrat/public_html/gw/modules/CRM/PhoneCall/PhoneCallCommon_0.php
    line 114
    function called: handle_epesi_error

[PHP core called function]
    function called: access_phonecall

File: /home/integrat/public_html/gw/modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
    line 1216
    function called: call_user_func

File: /home/integrat/public_html/gw/modules/Utils/RecordBrowser/RecordBrowser_0.php
    line 143
    function called: get_access

File: /home/integrat/public_html/gw/modules/Utils/RecordBrowser/RecordBrowser_0.php
    line 803
    function called: get_access

File: /home/integrat/public_html/gw/modules/Utils/RecordBrowser/RecordBrowser_0.php
    line 270
    function called: show_data

[PHP core called function]
    function called: body

File: /home/integrat/public_html/gw/include/module.php
    line 787
    function called: call_user_func_array

File: /home/integrat/public_html/gw/include/module.php
    line 707
    function called: get_html_of_module

File: /home/integrat/public_html/gw/modules/CRM/PhoneCall/PhoneCall_0.php
    line 27
    function called: display_module

[PHP core called function]
    function called: body

File: /home/integrat/public_html/gw/include/module.php
    line 787
    function called: call_user_func_array

File: /home/integrat/public_html/gw/include/module.php
    line 707
    function called: get_html_of_module

File: /home/integrat/public_html/gw/modules/Base/Box/Box_0.php
    line 144
    function called: display_module

File: /home/integrat/public_html/gw/include/epesi.php
    line 196
    function called: body

File: /home/integrat/public_html/gw/include/epesi.php
    line 239
    function called: go

File: /home/integrat/public_html/gw/include/epesi.php
    line 262
    function called: process

File: /home/integrat/public_html/gw/process.php
    line 32
    function called: process


I must tell you, that since giving up on this yesterday I spent all of last night trying many other CRM's and collaboration type scripts. This has to be the best, well thought out project I have ever seen. I sure hope that we can figure out why I am having these issue.

Thanks so much for the quick reply and the help.
Have a great day
Jim
nemo656
 
Posts: 5
Joined: Thu Mar 04, 2010 6:25 am

Re: Type 8 error now can't log on even as admin

Postby nemo656 on Sun Mar 07, 2010 8:09 am

I thought it might help if I told you about the web host.

It's a budget web host with Cpanel interface. This is the info from the systems panel, may this will help understand the system type I am hosted on.

Operating system Linux
Path to PERL /usr/bin/perl
Kernel version 2.6.18-164.11.1.el5
cPanel Version 11.25.0-STABLE
Shared Ip Address 174.123.xxx.xxx
Architecture i686
MySQL version 5.0.89-community
cPanel Build 43473
Path to sendmail /usr/sbin/sendmail
Apache version 2.0.63
PHP version 5.2.9
cPanel Pro 1.0 (RC1)

The version across the top bar says "epesi powered version 1.0.8"
nemo656
 
Posts: 5
Joined: Thu Mar 04, 2010 6:25 am

Re: Type 8 error now can't log on even as admin

Postby Ethnar on Mon Mar 08, 2010 5:17 am

The next error is caused by a mistake on our part.

Thank you very much for reporting this issue, fix is already prepared.

In order to fix this problem, please use attached PhoneCallCommon_0.php (unzip it) and place it in
/home/integrat/public_html/gw/modules/CRM/PhoneCall/

This fix should arrive on SourceForge svn shortly and will be included in upcoming releases.

Thank you for your help,
Arek
Attachments
PhoneCallCommon_0.zip
(4.86 KiB) Downloaded 19 times
User avatar
Ethnar
Epesi Team
 
Posts: 221
Joined: Mon Jun 25, 2007 8:35 am

Re: Type 8 error now can't log on even as admin

Postby nemo656 on Thu Mar 11, 2010 6:17 am

Thank you for the file, I will try it this morning. Have a great day. Jim
nemo656
 
Posts: 5
Joined: Thu Mar 04, 2010 6:25 am

Re: Type 8 error now can't log on even as admin

Postby nemo656 on Fri Mar 12, 2010 8:14 am

Sad to report that I do not think that file made a difference. The site now appears to be stuck in a loop of some type, not really sure what is happening. I think at this point I will wipe it clean and start from scratch and see how that goes. I am thinking maybe there might be some issue with the web server set up. I do know that they recently upgraded the version of PHP to 5.somthing. Will let you know how I make out. Thanks again for the assistance.

Have a great day
Jim
nemo656
 
Posts: 5
Joined: Thu Mar 04, 2010 6:25 am

Re: Type 8 error now can't log on even as admin

Postby Ethnar on Fri Mar 12, 2010 8:23 am

Really sorry to hear that.

I'm pretty sure of the cause for the last bug you posted here and that fix I posted is required to get it work (or error reporting must be turned down from strict).

Could you provide any more details for how this loop looks like, what's happening?

I'm sorry for inconvenience,
Arek
User avatar
Ethnar
Epesi Team
 
Posts: 221
Joined: Mon Jun 25, 2007 8:35 am


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron