Blank Page

alt=
@kayskeem
11 years ago
200 posts
Hi,
I was clearing up my server and my jamroom website is an addon domain so it has its on folder that i never touched. Well i deleted all files outside that directory and I get a blank white page on the website ? Any ideas ??
updated by @kayskeem: 01/06/14 08:31:59PM
michael
@michael
11 years ago
7,717 posts
If you cant get into the admin area to clear the caches, try this:
* use FTP to access your jamroom directory
* locate the file /repair.php.html in the root folder
* rename it to /repair.php
* call yoursite.com/repair.php

That should allow you to reset any caches.

Alternatively you can clear out the caches yourself to see if that helps:
* login via FTP
* go to /data/cache
* delete all the folders and files in there. They will be rebuilt later.
alt=
@kayskeem
11 years ago
200 posts
Fatal error: Cannot redeclare jraction_meta() (previously declared in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.2/include.php:52) in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.3/include.php on line 62 thats what i get when i do the first thing in your message. When I delete cache the second thing you said it still doesnt fix the blank page.
michael
@michael
11 years ago
7,717 posts
Take a look in the
/data/logs

folder for any file that looks like:
php_error_log

and if its there, could you post the contents of it here.
michael
@michael
11 years ago
7,717 posts
That looks like the 'debug_log'. no 'php_error_log'?
alt=
@kayskeem
11 years ago
200 posts
no sir
alt=
@kayskeem
11 years ago
200 posts
[29-Nov-2013 02:23:33] PHP Fatal error: Cannot redeclare jraction_meta() (previously declared in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.2/include.php:52) in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.3/include.php on line 62
[29-Nov-2013 02:24:18] PHP Fatal error: Cannot redeclare jraction_meta() (previously declared in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.2/include.php:52) in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.3/include.php on line 62
[29-Nov-2013 02:26:03] PHP Fatal error: Cannot redeclare jraction_meta() (previously declared in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.2/include.php:52) in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.3/include.php on line 62
[29-Nov-2013 02:27:45] PHP Fatal error: Cannot redeclare jraction_meta() (previously declared in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.2/include.php:52) in /home4/kayskeem/public_html/exposehits.com/modules/jrAction-release-1.1.3/include.php on line 62
michael
@michael
11 years ago
7,717 posts
Thats the one.

Got it, what Im guessing is happening is the symlink from your jrAction folder has been removed and each of the versions of the file are now presenting as individual modules (which they aren't)

I think i can reproduce this here, so I'll look for a fix now and get back to you.
alt=
@kayskeem
11 years ago
200 posts
ok great thanks.
michael
@michael
11 years ago
7,717 posts
I've fixed it on mine, but not exactly sure what the key to it was.

Try this,
* delete your php_error_log

Then see if this location will open:
* yoursite.com/core/integrity_check

If it does open check all the checkboxes and run the integrity check. If it doesnt open, check to see if your php_error_log has been recreated and the errors that are in it.

I suspect the error will probably be the same as before:
"PHP Fatal error: Cannot redeclare j.........."

If thats the case, open up FTP and remove all the duplicate module locations off of the server. So if you have:
/modules/jrCore
/modules/jrCore-release-5.1.0
/modules/jrCore-release-5.1.3

That type of structure, move the older version off of the server, but save it to your pc just in case. but delete it from the server so there is only one version of any particular module existing.

eg:
/modules/jrCore
/modules/jrCore-release-5.1.3

Keep just the one with the highest number.

After that see if you can get to:
yoursite.com/core/integrity_check


As the integrity check should be able to fix everything up if we can get it to run.
alt=
@kayskeem
11 years ago
200 posts
my file name is error_log not sure if its the same is php_error_log and its in the home directory but anyways i deleted that and * yoursite.com/core/integrity_check did nothing. I went to check the error log it wasnt there still so which step do i go to now ?
updated by @kayskeem: 11/28/13 09:14:33PM
michael
@michael
11 years ago
7,717 posts
Send me the FTP info to support [at] jamroom.net and i'll login and get it fixed up for you.
alt=
@kayskeem
11 years ago
200 posts
ok sent.
michael
@michael
11 years ago
7,717 posts
Update: The issue appears to have been caused by the structure of the foxycart integration class. The structure was one that only became available from PHP version 5.3 + and the server was running 5.2.xx.

Anybody running into a similar issue can resolve it by making sure the server meets the requirements
alt=
@kayskeem
11 years ago
200 posts
thanks now when i upgrade to 5.3 will i face any issues ?
michael
@michael
11 years ago
7,717 posts
nope. The only thing that could cause it to happen again is if your still on 5.2 and upgrade the jrFoxyCart module to a newer version and that line that I commented out to make it work on your server gets added back in and it breaks again.

For reference that line is:
/modules/jrFoxyCart/lib/functions.php Line44
//include_once APP_DIR . '/modules/jrFoxyCart/contrib/foxycart/client.class.php';

updated by @michael: 11/28/13 09:59:24PM
alt=
@kayskeem
11 years ago
200 posts
ok great thanks Michael
brian
@brian
11 years ago
10,148 posts
I have found the root cause for this error and have it fixed for Jamroom Core 5.1.4, which I'm shooting for a Monday release.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@kayskeem
11 years ago
200 posts
Thanks brian can't wait!
alt=
@kayskeem
11 years ago
200 posts
I'm getting the blank page again. I updated my php version as well as jamroom core. What happened was i reset /modules/jrAudio/item_details.tpl forgetting i had customized it for this https://www.jamroom.net/the-jamroom-network/documentation/howto/1389/howto-allow-downloads-to-logged-in-users well i tried to fix it back and now I'm getting the blank white page again
alt=
@kayskeem
11 years ago
200 posts
every song i go to now is a blank page help please.
michael
@michael
11 years ago
7,717 posts
That means something in that template is broken. The easiest way to fix it would be different depending on how you changed the template.

If you changed it from the template editor in the ACP then click the reset:

ACP - AUDIO SUPPORT - TEMPLATES
site.com/audio/admin/templates

locate the one with a button in the Reset column and click RESET.
alt=
@kayskeem
11 years ago
200 posts
yup I reset and redid it again for the 3rd time but this time it seemed to fix it all. I appreciate it.

Tags