Title: Execution time error
Last modified: August 22, 2016

---

# Execution time error

 *  [krzych](https://wordpress.org/support/users/krzych/)
 * (@krzych)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/execution-time-error/)
 * Hi,
 * When I’m trying to visit plugin’s setting pege I get an error message:
 *     ```
       Fatal error: Maximum execution time of 30 seconds exceeded in /blogfolder/wp-content/plugins/rackspace-cloud-files-cdn/lib/functions.php on line 284
       WordPress database error: [Table ‘dbname.wp__wsd_plugin_scans' doesn't exist]
       SELECT scanId FROM wa__wsd_plugin_scans ORDER BY scanId DESC;
       ```
   
 * How I can fix this?
 * [https://wordpress.org/plugins/rackspace-cloud-files-cdn/](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [krzych](https://wordpress.org/support/users/krzych/)
 * (@krzych)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/execution-time-error/#post-5635287)
 * OK, the “WordPress database error” was related to another plugin (Acunetix WP
   Security).
 * The issue is still “Fatal error: Maximum execution time of 30 seconds exceeded
   in /blogfolder/wp-content/plugins/rackspace-cloud-files-cdn/lib/functions.php
   on line 284”
 *  [ingraye](https://wordpress.org/support/users/ingraye/)
 * (@ingraye)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/execution-time-error/#post-5635501)
 * I had the same issue with a huge relatively (?) big CDN (10k+ files). You need
   to modify your php.ini to allow longer execution times. I’m not sure why the 
   script needs so long to load the page. Trying to figure this out myself but not
   finding any answers.
 *  [extima](https://wordpress.org/support/users/extima/)
 * (@extima)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/execution-time-error/#post-5635548)
 * Rackspace Coudsites has a 30 second timeout limit at the Load balancer and there
   is not much we can do that I know of to change that.
    [http://www.rackspace.com/knowledge_center/article/connection-timeout-error-message-on-cloud-sites](http://www.rackspace.com/knowledge_center/article/connection-timeout-error-message-on-cloud-sites)
 * The part of the code that is timing out is a call to see if the remote files 
   need to be pulled back down to the local. I am personally using this 1-way (posting
   TO the CDN) and do not need the 2-way sync and so I commented out the code to
   see if any files need to be pulled back down and now it runs.
    WARNING: If you
   delete files from local, you will not be able to turn that feature off and get
   the files to auto-pull back down. If you ever need those files again, you will
   have to grab them with CyberDuck or similar. line 275 – comment
 *     ```
       //$remote_objects = $_SESSION['cdn']->get_cdn_objects(true);
       ```
   
 * Then again around line 290 – the note above said line 284, but we may be on different
   versions. I am using version 1.3.1 of the plugin
 *     ```
       // Check remote files needing DOWNloaded
       	//foreach ($remote_objects as $cur_remote_object) {
       	//	if (!in_array($cur_remote_object, $local_objects) && $cur_remote_object['fs'] > 0) {
       	//		$cdn_url = (isset($_SESSION['cdn']->api_settings->use_ssl)) ? get_cdn_url('ssl') : get_cdn_url();
       	//		$cur_remote_object['fn'] = $cdn_url.'/'.$cur_remote_object['fn'];
       	//		$objects_to_download[] = $cur_remote_object;
       	//		$objects_to_download[] = ''
       	//	}
       	//}
       ```
   
 * If anybody can figure out how to get this script to run faster or return ajax
   updates so that the load balancer sees activity, that would be a huge help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Execution time error’ is closed to new replies.

 * ![](https://ps.w.org/rackspace-cloud-files-cdn/assets/icon-256x256.jpg?rev=1001447)
 * [Rackspace CDN](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)
 * [Support Threads](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/)
 * [Active Topics](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [extima](https://wordpress.org/support/users/extima/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/execution-time-error/#post-5635548)
 * Status: not resolved