Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help please with a piece of code using php in Drupal

Discussion in 'Website Design Forum:' started by IainQ, Oct 21, 2010.

Thread Status:
Not open for further replies.
  1. IainQ

    IainQ Member

    Hi everyone,

    I was wondering if someone could help me with me with a slight problem using php and Drupal.
    I have set up a localhost account on a memory stick using EasyPhp and with this installed Drupal. I set up a database, which works fine, but when trying to go through the standard install process a small piece of code seems to block me from going any further.

    Big white page with "Fatal Error: something to do with failing after 30 seconds and then it refers to the page which is and says the error is on Line 108.

    The reason for my vagueness is because it is set up on my PC, which is off now, and Im now on my mac, so i can post more details tomorrow if neccesary.
    But! I have the file to hand and below is the small piece of code which seems to be causing the prblem. If anyone knows anything about this kind of issue please help me. I have tried adding code to lengthen the timeout period, this didnt work. And i have searched forums with no success.

    I can provide any more details or files if need be.
    Many thanks. Iain.

    Code starting from Line 108 (which browser is picking up as error causing):

  2. Jazajay

    Jazajay Active Member

    Whats the exact error message you are getting fella?
  3. IainQ

    IainQ Member

    Fatal Error: Maximum execution time of 30 seconds exceeded in... directory_where_it_is_stored/
  4. IainQ

    IainQ Member

    I must add that I have read many forums which suggest upping the ammount of time which it takes to process such execution but this did not work and I also read that it can lead to other problems when doing this - I would much rather work out what the coding issue is and go from there.
  5. IainQ

    IainQ Member

    Sorry for all of this - I have actually fixed the issue - I added a piece of code to the beginning of one of the configuration files to set the waiting time to process strings to unlimited and it works fine now :) So I am extremely happy and exploring the joys of drupal. Thanks all.
  6. Greg

    Greg Active Member

    Glad you got it sorted Iain, only used Drupal once or twice myself so knew I wouldn't be able to assist!
    Will close the thread for you. Thanks, Greg
Thread Status:
Not open for further replies.

Share This Page