nBill Community nBill Home Page
23/May/2012, 12:54:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Blank screen during after 'Upload File and Install'  (Read 4633 times)
veryphatic
Jr. Member
**
Offline Offline

Posts: 3


View Profile
« on: 17/March/2008, 11:45:51 AM »

Hi, I'm experiencing problems installing this component into my local Joomla 1.5 install. I have turned System -> Legacy mode on, however, when I select the zip file to install the component, I'm presented with a blank white screen and nothing happens: no items are installed into menus, no option/attributes are set in the url.

Have I missed something?
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 17/March/2008, 12:00:31 PM »

It sounds like a PHP error is occurring but if you have error reporting turned off (which many servers do, for security reasons), the error message is not displayed and you just get a blank screen. Check for a file called error_log in your /administrator/ folder, or failing that, check your main server error log.

I suspect the problem might be that PHP is timing out after 30 seconds. Because Joomla 1.5 is so slow (especially in legacy mode), it might not have enough time to unzip the component before PHP times out. To fix this, you can go to the /administrator/index.php file, and just after the line that says:

Code:
define( '_JEXEC', 1 );

...add the following on a new line:

Code:
set_time_limit(300);

This increases the time PHP allows a script to run before giving up, so will probably allow you to install it. Of course I am only guessing as I have not seen your error log.
Logged
veryphatic
Jr. Member
**
Offline Offline

Posts: 3


View Profile
« Reply #2 on: 17/March/2008, 12:39:45 PM »

I turned my error checking on and recieved this message:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1552725 bytes) in /xxx/libraries/joomla/filesystem/archive/zip.php on line 297
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #3 on: 17/March/2008, 01:11:42 PM »

Ok, in that case it is memory rather than time that is causing the problem, but the solution is very similar - the code to temporarily increase the memory limit is:

Code:
ini_set("memory_limit", "128M");
Logged
veryphatic
Jr. Member
**
Offline Offline

Posts: 3


View Profile
« Reply #4 on: 17/March/2008, 09:29:59 PM »

Perfect. Thanks  Grin
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!