Knowledgebase : Analytic Call Tracking > Error Messages

 

If you have godaddy and you're getting the following message:

 

Warning: file_put_contents(/var/chroot/home/content/55/xxx6655/html/x/api/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in/home/content/55/xxx6655/html/x/calltrack/include/util.php(3) : eval()'d code on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/content/55/xxx6655/html/x/calltrack/include/util.php(3) : eval()'d code:51) in/home/content/55/xxx6655/html/x/calltrack/index.php(3) : eval()'d code on line 54

 

You're getting this issue because of a permission issue with godaddy.

To solve this, create a '.htaccess' file in your /api/ folder of ACT, and put in:

 

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  Options +Indexes
  RewriteEngine on

  # if your app is in a subfolder
  RewriteBase /api/

  # test string is a valid files
  RewriteCond %{SCRIPT_FILENAME} !-f
  # test string is a valid directory
  RewriteCond %{SCRIPT_FILENAME} !-d

  RewriteRule ^(.*)$   index.php?uri=/$1    [NC,L,QSA]
  # with QSA flag (query string append),
  # forces the rewrite engine to append a query string part of the
  # substitution string to the existing string, instead of replacing it.
</IfModule>


If you use ACT in a sub-folder eg. ( www.yourdomain.com/calltrack ) Then you need to use a different one. Please use:

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  Options +Indexes
  RewriteEngine on

  # if your app is in a subfolder
  RewriteBase /calltrack/api/

  # test string is a valid files
  RewriteCond %{SCRIPT_FILENAME} !-f
  # test string is a valid directory
  RewriteCond %{SCRIPT_FILENAME} !-d

  RewriteRule ^(.*)$   index.php?uri=/$1    [NC,L,QSA]
  # with QSA flag (query string append),
  # forces the rewrite engine to append a query string part of the
  # substitution string to the existing string, instead of replacing it.
</IfModule>

 

Replace 'calltrack' to your sub-folder.

 

We also, strongly recommend you switch your hosting provider from GoDaddy to A2 or migrate your ACT to our SaaS platform.

 

If you're having problems with this or need assistance, please submit a ticket.

If you are getting the error: Fatal error: Uncaught exception 'Services_Twilio_RestException' with message'Authenticate' in/home or a blank screen after login.

 

Please double check your Twilio AUTH Token and SID ID in your config file.


If the AUTH Token and SID ID are correct then please verify that you have funds in your TWILIO account.

 

If you have funds in your Twilio account and your SID ID and AUTH Token are correct please send us a support ticket.

 

We have a video showing you how to do this at Help.AnalyticCallTracking.com.

 

Submit A Ticket

 

If your ACT does not go past the Authentication page and looks like the page just refresh without any error, you have not either imported your own SQL file or the Calltrack.sql located in your ACT Zip file, if it is a new install.

To resolve this:

1) Log into your cPanel

2) Click on phpMyAdmin in the Databases Section.

3) Locate your Database at the left navigation screen and click on it.

4) Click on Import at the top of the screen.

5) Click on Choose File and browse to where the Calltrack.sql file or where your SQL backup file is located and click Open.

6) Click Go and Exit the phpMyAdmin module.


 

If you are unable to add an "outgoing" number then this indicates a corrupted database.
In order to fix this please drop all tables and re-upload the calltrack.sql file.
If you are still unable to add the "outgoing" number and you are receiving an "There Was An Error In Your Request" please contact us.

If your outgoing calls are not being recorded in your ACT, please login to your Twilio account and check if the recordings are available under your Twilio account.

If the recordings are not available, please submit a ticket with Twilio and ask them to take a look.

If the recordings are available in Twilio but are not available in ACT, please make sure you have your ACT updated to the latest version.

If you are still experiencing an issue please submit a support ticket.

 

If you are getting the ERROR - PDOException - Access denied for user


Please check to see that you have a database user created and that the mysql user and password match.


Usually, this is caused by not inserting your cpanel username before your database username


Example:


If your cpanel username is 'restorat' and your database user is 'admin'


Please try using 'restorat_admin' as the database username in config.php

 

We have a video showing you how to do this at Help.AnalyticCallTracking.com.

 

If you have done this and you are still getting an error please go ahead and submit a ticket.

If you\'re receiving this error:

Warning: Invalid argument supplied for foreach() in /home/wize1/public_html/calltracking/include/util.php on line XX

 

This usually means that your Twilio SID is either wrong or invalid.

 

1) Please open config.php in the include folder and

2) Check your $AccountSid and $AuthToken. Make sure that there are no spaces or any symbols between the quotes.

 

If you are still having problems, please submit a ticket

If you're receiving this:

Warning: Invalid argument supplied for foreach() in /calltracking/index.php on line 302

This is normal. It usually means that you have no numbers or companies. After you add some, it should go away.

If this error still occurs please submit a ticket.

If you are receiving the following error:

Fatal error: Class 'PDO' not found in /include/db.php on line 3

This means your host does not have PDO enabled.

Contact your hosting company and ask them to "enable PDO".

If you still experience difficulties please submit a ticket.

The message "In Progress" for calls can appear for a couple different reasons.
1) Be sure that they are not Skype numbers as Twilio does not work well with Skype.
2) Ensure that you are using the latest version of ACT - check the members area for the latest version.
3) It could be a slow server issue meaning that Twilio could be failing to post back to ACT.
4) Clear cache and try again.
If you are still experiencing issues please submit a ticket.
If you experience the Twilio Message "An Application Error Has Ocurred" here are a few things to verify before you submit a ticket:
1) Make sure the whisper URL and the recording notfication URL both contain "http://"
2) Make sure that the mp3 file exists
3) Upgrade to the latest version of ACT - check members area for latest version of ACT.
If the error still occurs please submit a ticket.