+ Post New Thread
Results 1 to 5 of 5
How do you do....it? Thread, Classroombookings - Unable to create an image in Technical; Hopefully Webman (Craig) will find this post. Thanks so much for creating this application and making it freely available. I ...
  1. #1

    Join Date
    Jun 2012
    Location
    Herts
    Posts
    18
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Classroombookings - Unable to create an image

    Hopefully Webman (Craig) will find this post.

    Thanks so much for creating this application and making it freely available.

    I have just installed Classroombookings on a virtual server, Ubuntu 12.04, PHP 5.3.10, I am working my way through the basic setup before I hand it over to the admin staff

    When I try to change the default colours or upload a logo I get the error message unable to create image.JPG Unable to create an image. In an effort to solve this I have temporarily removed all write restriction to all folders and files.

    Also, I am unable to remove the install.php file as recommended delete php intstall.JPG

    Finally, for safety's sake, what files do you recommend are backed up?

    Many thanks

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Hi theo_logical, thanks for looking into Classroombookings.

    I think the problem you have encountered is due to a PHP module "GD" (which handles image manipulation) not being installed or enabled. To confirm this, create a new PHP file (info.php for example) with this contents:

    Code:
    <?php phpinfo() ?>
    Place it in the same place as Classroombookings (same folder as index.php), and then access it in your browser. You should see a page full of tables. Look for "gd". If it is not there, or if it says enabled is false, then that is definitely the problem.

    In Ubuntu, this can probably be enabled with a quick apt-get install php5-gd or similar - if that doesn't work, use tab completion at the php5- part of the command, or use apt-cache search.

    Once that's been installed or enabled, restart the web server service to pick up the new config, and it should be fine.

    Deleting the installer: you can do this by making sure the URL is index.php/school/delete_install, or just deleting the system/application/controllers/install.php file yourself.


    Hope that helps

    Craig.

  3. #3

    Join Date
    Jun 2012
    Location
    Herts
    Posts
    18
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hello Craig

    Thanks so much for your prompt reply. I am sure that what you have suggested will work, indeed the test you described does suggest GD is missing. However, right now the mirrors are down so I can't update php5. I'll try again tomorrow and let you know

    Thanks again

  4. #4

    Join Date
    Jun 2012
    Location
    Herts
    Posts
    18
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hello Craig

    Installing PHP5 did the trick.

    Now, when importing a CSV file with staff names etc, I get an error message stating that the folder may not be writeable, can you tell me which folder that will be?

    Many thanks

  5. #5

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Hi

    The CSV file gets uploaded to the "temp" folder, which should be in the root of your Classroombookings install.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 28th October 2012, 01:34 PM
  2. How to create an Image backup?
    By lionsl2005 in forum How do you do....it?
    Replies: 0
    Last Post: 1st June 2009, 06:55 PM
  3. unable to add an additional dc
    By simongrahamuk in forum Windows
    Replies: 2
    Last Post: 25th February 2008, 02:22 PM
  4. Unable to upload WDS image
    By joe90bass in forum Windows
    Replies: 0
    Last Post: 17th December 2007, 09:15 AM
  5. Replies: 4
    Last Post: 27th September 2006, 02:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •