solved rebase - resulted in Blank pages across site

iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Just rebased my site and deleted old versions. Page refreshed and resulted in blank pages across site. Can some one recommend steps to resolve? Thank you,
B
updated by @ilovehousemusic: 07/16/14 04:34:40AM
michael
@michael
10 years ago
7,744 posts
watch the 2 videos. You rebased the jrCore module.
(part 2) reason for rebase
Rebase the Jamroom modules and skins onto their base url

The solution is to open a different sites page in a tab. (in the video I use phpmyadmin) then refresh the page.

Its related to the current path for the system thinking it is something like
/jrCore-1.5.x/ then having the current path change to /jrCore/
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@Michael - I followed the same steps as the video shown (using phpmyadmin also). But the pages are still blank. Also tried a different browser.

Something I'm doing wrong?
updated by @ilovehousemusic: 05/08/14 08:42:48PM
michael
@michael
10 years ago
7,744 posts
not psychic, and haven't got any secret cameras on you right now, so lets try to figure it out.

What does the FTP structure of the modules directory look like. anything strange looking?

You tried a different browser, good idea. didnt help....mmmm. Anything in the error_log?
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Let me check that out. BRB.
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
There are bunch of these guys in the error log, so it appears to be looking for the old path still:

[09-May-2014 04:37:50 UTC] PHP Fatal error:  Class 'Smarty_Internal_TemplateBase' not found in /home/xxxxxx/public_html/modules/jrCore-release-5.1.41/contrib/smarty/libs/Smarty.class.php on line 108

attached an image of the file structure.
jpg
 •  20KB


updated by @ilovehousemusic: 05/08/14 09:40:15PM
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Maybe I can clear the cache manually? Remind me again how to do that? Thanks again for your help on this...
updated by @ilovehousemusic: 05/08/14 09:56:43PM
michael
@michael
10 years ago
7,744 posts
That error is nothing. Its saying "Went looking for ..../jrCore-release-5.1.41/contri.... but couldnt find it".

Which suggests that the the $_SESSION thinks the latest version is 'jrCore-release-5.1.41' where what it really is after the rebase is 'jrCore'.

So we need the system to use what is actually there, which is /jrCore/

To clear the cache manually on the file side of things, FTP to:
/data/cache

and there will be a bunch of things in there like:
/jrAudio
/jrCore
/jrElastic
/jr......

Its fine to delete all of those directorys if they exist. (I would expect them to have been deleted by rebase.)

Leave the /index.html file there if its there. Just stops anybody getting a directory listing of files in that folder if they look.

To clear the database side of things, the table name is jr_jrcore_cache and can be cleared by either doing it manually via phpmyadmin or the easy way:

FTP into the root of your site, look for the file /repair.php.html rename it to /repair.php and open it in the browser.

you will see:

Quote: Jamroom Database Repair
This script will:

run TRUNCATE TABLE your session and cache tables (which will empty them)
run REPAIR TABLE on all Jamroom database tables

Press the start repair button to begin.

only fair that I help fix it, I built the module. Thought it was all working though. If we find the root cause of this happening, ill add in a check for it.

---
One other thing to check for is that there are files in the modules/jrCore directory. The guess is that perhaps the latest version didn't get copied before the -release-'s were deleted.

That shouldn't happen, but its worth checking.
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Thanks Michael - OK let me start from the top. BRB.
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
OK, so the good news is, I only had to clear the cache in the /data/cache folder via FTP and got it working.

Now that I'm back in ACP, I just realized that my site was "Run in developer mode" when I did the rebase. Not sure if that helped or harmed any.

Thanks for your help @michael
updated by @ilovehousemusic: 05/09/14 12:48:17AM
michael
@michael
10 years ago
7,744 posts
Good News! well done. :)

Wouldn't think that developer mode should effect it, but something didn't work smoothly, so maybe.
brian
@brian
10 years ago
10,148 posts
I've released version 1.2.1 of the Developer Tools that should fix the blank screen issue. Update and let me know if you see issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@Brian @Michael - Just as a heads up -I rebased my core/modules on another site and the blank screen behavior happened again. I used the same method I described above to resolve it.

Unlike the previous version (1.20), I *DID* see the successful deletion message immediately after rebasing it. Then, when I clicked on a link (without refreshing) it went to the blank page behavior.

One thing I forgot to do after updating the module from 1.20 to 1.21 is integrity check. So that might have something to do with it?

Hope this helps.
updated by @ilovehousemusic: 05/10/14 06:56:19AM
brian
@brian
10 years ago
10,148 posts
iLoveHouseMusic:
@Brian @Michael - Just as a heads up -I rebased my core/modules on another site and the blank screen behavior happened again. I used the same method I described above to resolve it.

Unlike the previous version (1.20), I *DID* see the successful deletion message immediately after rebasing it. Then, when I clicked on a link (without refreshing) it went to the blank page behavior.

One thing I forgot to do after updating the module from 1.20 to 1.21 is integrity check. So that might have something to do with it?

Hope this helps.

The difference however should be a simple refresh works. The only place you might still see a blank screen is AFTER running the tool, if you click on the "ACP" link, or other link instead of hitting a template based view first.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags