Jump to content

Help help - suddenly getting white screen when going to ionFiles page

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
16 replies to this topic

#1
DavidBoggitt

DavidBoggitt

    Newbie

  • Members
  • PipPip
  • 26 posts
Hi and help!

Don't know what caused this... but now on this site on which I'm developing a website:

Find a Voice

if you click on Downloads on the top menu, you get a white screen. I think that's a PHP error (?), but I've turned Joomla! error reporting onto maximum and there's still just a blank screen. :(

I've absolutely no idea what to do from here, but the weird thing is... it works perfectly on my localhost backup. I just tried reinstalling the site again using JoomlaPack, but the problem is still the same - doesn't work on the live site but seems fine on localhost.

How do I even start to investigate?!

Thanks,

Dave.

#2
DavidBoggitt

DavidBoggitt

    Newbie

  • Members
  • PipPip
  • 26 posts
Don't worry... it's sorted... some stupid Firefox cache problem...!

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
We had that same theme on here once, a couple of years back.

#4
DavidBoggitt

DavidBoggitt

    Newbie

  • Members
  • PipPip
  • 26 posts
Hi,

I had this same problem again with a client, sitting at their computer.

In order to get the ionFiles page to work (i.e. not a white screen of death) I had to clear my whole Recent History on Firefox (3.5.2). It seems fine on IE and Opera.

Is this a Firefox bug, or an ionFiles bug, or not a bug at all?! Has anyone else reported this?

I'm just concerned that the site will be launched and users will have this same issue when they try access the downloads page.

It's on this site:

Untitled Document

Many thanks,

Dave.

#5
DavidBoggitt

DavidBoggitt

    Newbie

  • Members
  • PipPip
  • 26 posts
Hmmm... did it again on my computer... seems to be random too... the way to fix it appeared to be clearing the cookies under Firefox's 'Clear Recent History'.... a bit worrying from a users perspective... :confused:

#6
Pretender

Pretender

    Newbie

  • Members
  • Pip
  • 6 posts
Hi,
i saw your site, it seems the ionfiles component is running fine, i will try later to see if the blank screen comes again and if it's cache issues.


I also have the white screen! Installed this component yesterday. Never worked. Always blank for me. At localhost or web. Whatever the browser i use.

Component installed successfully, created categorys, add a file, settings options, template (default) assigned.
Any help will be good,
I don't know what to do next.
Thanks,

Pretender

#7
DavidBoggitt

DavidBoggitt

    Newbie

  • Members
  • PipPip
  • 26 posts
Hi,

Have you got a link to your site? The component does seem to be running fine now, but it was ok on my computer and not on a clients. Until I cleared the complete recent history.

Interesting that you have the problem on every browser.

Have you tried a completely fresh install on J1.5.14 on localhost (are you using WAMP?) and then installing only the latest ionFiles component? If that fails too (on every browser) then maybe there is a tiny bug in there somewhere.

Dave.

#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
What version did you install? Also, a link to your site would be very helpful. The original cause of the "white screen" was because a magic_quote function was being called that was removed, it was called if magic quotes were enabled on your system by PHP config.

#9
Pretender

Pretender

    Newbie

  • Members
  • Pip
  • 6 posts
Installed ionFiles 4.5 Public Beta 3. Clean Install (Never installed any version of this component early).
Running joomla 1.5.11 (i will do the update to 1.5.14 today, just in case), localhost, wamp.
Disabled SEF, just to try if it was the problem, but wasn't.

I will put the online link, asap, just working on it now.

#10
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Interesting. Once the Link is up I'll be able to diagnose it better. I use WAMP and haven't had a problem at all.

#11
Pretender

Pretender

    Newbie

  • Members
  • Pip
  • 6 posts
An updated situation, I was unable to reply early.

Actually it's XAMPP with php version: PHP 5.2.9 (cli) (built: Feb 25 2009 15:52:24)

I activated in ionfiles.php, the error reporting:

Quote

error_reporting (1);
returned this:

Quote

Fatal error: Call to undefined function remove_magic_quotes() in C:\xampp\htdocs\my_site\components\com_ionfiles\models\ionFilesModel.php on line 217

At php.ini i disabled magic quotes (it seems at newer vs are off by default)
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = off

at ionfilesmodels.php
commented several lines.
All function removeMagicQuotes
and all this lines
			if (get_magic_quotes_gpc ()) {
				// Yes? Strip the added slashes
				$_REQUEST = $this->removeMagicQuotes ( $_REQUEST );
				$_GET     = $this->removeMagicQuotes ( $_GET );
				$_POST    = $this->removeMagicQuotes ( $_POST );
			}		
			array_walk_recursive($_GET, array($this, 'cleanData')); 
			array_walk_recursive($_POST, array($this, 'cleanData')); 
			array_walk_recursive($_REQUEST, array($this, 'cleanData')); 
			
			set_magic_quotes_runtime ( 0 );
*/	
			/*

What i got now:
Still not get any joomla menus, only got the dropmenu with category's and the search at the right. No files and no template like in your demo page.
You can see a image of what i get.
for debugging i enabled maximum debug display from joomla
IMG: hxxp://img42.imageshack.us/img42/5716/ionfilespage.jpg

What to do next?:confused:

#12
Pretender

Pretender

    Newbie

  • Members
  • Pip
  • 6 posts
updated to joomla 1.5.14 and the same result.
I guess i will try another module/plugin to download section :(
I Tried also putting some outputs at ionFilesView.php.
- It assigns well the template.

The strange thing is it don't display the div "ionFiles by CodeCall Programming, Questions?",
\views\tmpl\default\index.php
but creates the table...

EDIT:
The div are now displaying and my site with the menus and other components.
I've unpublished 2 files from ionfiles backoffice.
I don't know why, when they are published, the behaviour are what I described above.

BTW removed all categories and files.
Created a new category and a file.
Still not displaying the file

EDIT2:
@category.php the call to the file/function file.php
require('file.php');
seems to not be working, because i put some echo and text at file.php and do not appear... :confused:

Edited by Pretender, 01 September 2009 - 10:19 PM.