Restore Theme Breaks Site

xmla
@xmla
10 years ago
34 posts
When restoring the theme ( jrProJam ) on my site, it empties the projam directory, replaces only a few directories and redirects admin to a blank page - had to re-upload skin files to restore.

M
XMLA / KXSR
updated by @xmla: 12/18/14 03:39:09PM
brian
@brian
10 years ago
10,148 posts
xmla:
When restoring the theme ( jrProJam ) on my site, it empties the projam directory, replaces only a few directories and redirects admin to a blank page - had to re-upload skin files to restore.

M
XMLA / KXSR

Can you let me know what you mean by "restore" the skin?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
I go to the marketplace from my site admin, go to the area where I can restore my theme, and when I click the restore button, things break.

It worked in the past but I was working on my site last night and ran into this issue.

M
XMLA / KXSR
brian
@brian
10 years ago
10,148 posts
xmla:
I go to the marketplace from my site admin, go to the area where I can restore my theme, and when I click the restore button, things break.

It worked in the past but I was working on my site last night and ran into this issue.

M
XMLA / KXSR

I just tested this out on my site here and I'm not seeing any issues - the reload worked no problem. Have you customized the skin using the online Style editor? It could be there's errors there that are causing the issue - a reload doesn't reset any custom CSS, it just reloads the files.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
For some reason it just removed all the files in the directory, replaced with 2 folders initially, then I re-populated the folder from my backup so I could try it again. On the second attempt, it emptied the folder, and repopulated it with 7 folders. I still had to re-upload the backup. From its actions, it was acting like it was timing out during the restore.

I can provide access for you to test.
brian
@brian
10 years ago
10,148 posts
There should only be 5 directories inside the skins/jrProJam directory:

contrib
css
img
js
lang

Are you seeing any of the .tpl files being restored? Note that how it works is that it redownloads the jrProJam zip file from here on Jamroom.net and that's what it uses to set itself up.

Make sure you're not out of disk space.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
Plenty of space on that server.

I'll try again during off-peak hours and see what happens. I'll screen capture it and report if issue reveals itself again.

Thank you for your assistance.

M
brian
@brian
10 years ago
10,148 posts
xmla:
Plenty of space on that server.

I'll try again during off-peak hours and see what happens. I'll screen capture it and report if issue reveals itself again.

Thank you for your assistance.

M

Yep no problem - let me know if you see it again.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
The video is too blurry for me to see what is going on - can you upload a higher quality version?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts

I can definitely see where you are clicking, but all the text on the screen is too small and blurry to be readable. I have no idea what directories you're looking at on the left hand side of the screen, but 2 of them look longer than any that are in the actual skin directory, so something is interfering or messing up the unzipping on your server. Note that in over a year of using the marketplace here this is the first time I've heard of it messing up on the unzip, so something is going on that is very specific to your setup.

If you can give me details on what you're seeing in the skins/jrProJam directory AFTER the reload, that would be great.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
It only happens with the restore - updating apps, there is no issue.
brian
@brian
10 years ago
10,148 posts
So when you restore, you said it creates 7 directories - can you tell me the names of the directories?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
contrib
css
desorigressvars
fontawesome
img
js
lang

all populated with files.

M
brian
@brian
10 years ago
10,148 posts
xmla:
contrib
css
desorigressvars
fontawesome
img
js
lang

There is something wrong here - the "desorigressvars" and "fontawesome" are not directories in the package (I have no idea where those have come from).

Try this - go in to your site via FTP and empty the data/cache/jrMarket directory, then try again - I'm thinking there are old files in there that are causing an issue.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
jrMarket folder was empty. permissions on folder are 777.

Updates went fine.

Ran system core
image galleries
user comments
smiley support
user profiles
activity timeline

I have very minimal customizations on the site. Mostly graphics.

and every time I run the theme update in the past, it wipes out all of my customizations - any plans to make a child theme or a way where it will migrate over your .tpl files, images, and css and language changes?

M
douglas
@douglas
10 years ago
2,790 posts
If you have the Developer module installed, you can clone a skin, this way your modifications won't get lost during an update.

https://www.jamroom.net/the-jamroom-network/documentation/skins/839/creating-your-own-skin


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
xmla
@xmla
10 years ago
34 posts
Awesome! Thank you!
douglas
@douglas
10 years ago
2,790 posts
Your welcome! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
10 years ago
10,148 posts
xmla:
jrMarket folder was empty. permissions on folder are 777.

Updates went fine.

Does that mean reloading worked?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
negative.

I ended up downloading the original program theme from the jamroom.net site directly.

It still is removing all files and replacing with those same directories filled with files.

Luckily, this time, because I cloned the theme, it didn't break the site. Thank you for that tidbit. :)

I don't see needing to restore the theme again in the future, but something is difinetly not working as it should for some reason. But I'm no longer halted by it and found a suitable workaround. :)

Thank you for your guidance and support.

M
XMLA / KXSR
brian
@brian
10 years ago
10,148 posts
This is really weird though - the fact that you're getting directories created on your file system that are NOT part of our archive (which you can confirm by looking at what you manually downloaded - it's the same file) is very strange.

I would suggest a security audit on your server - it smells a little bit like malware that is adding hidden scripts to any "new" PHP/web files that get written out to the file system.


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

updated by @brian: 11/16/14 05:48:07AM
xmla
@xmla
10 years ago
34 posts
The download I got from the site did not have those additional directories. on the 5.

Should I just remove and replace all files? My mobile site has disappeared for some reason (just black on my iPhone ) and sometimes my newest artists, members, and videos don't load on my homepage.

M
brian
@brian
10 years ago
10,148 posts
xmla:
Should I just remove and replace all files? My mobile site has disappeared for some reason (just black on my iPhone ) and sometimes my newest artists, members, and videos don't load on my homepage.

It's hard to say without knowing what the root cause is. Try this - try "reloading" a non-active skin (say Elastic) and see if you get the same issue - see if we can narrow it down to a specific skin, or if it is happening to all skins.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
xmla
@xmla
10 years ago
34 posts
I've stripped my site back to the original installation - reloaded the core and all modules - reloading the projam theme issue remains - I'm also seeing the newest artist, newest members, and newest videos boxes not loading on the homepage - what would cause this functionality not to function properly?
it just shows the loading bar and loading... below but never loads.

M
brian
@brian
10 years ago
10,148 posts
xmla:
I've stripped my site back to the original installation - reloaded the core and all modules - reloading the projam theme issue remains

I suspect you have malware on your server - I really have no idea what else if would be. What is INSIDE those extra 2 directories? Are there PHP scripts in them?

xmla:
I'm also seeing the newest artist, newest members, and newest videos boxes not loading on the homepage - what would cause this functionality not to function properly?
it just shows the loading bar and loading... below but never loads.

M

That sounds like you are viewing your site on the NON-WWW URL but your data/config/config.php has the WWW URL configured (or vice versa).

The Javascript Same-Origin policy will NOT load AJAX on the non-WWW version of your site if configured for WWW and vice versa.

Let me know if that helps.


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

updated by @brian: 11/17/14 02:34:47PM
xmla
@xmla
10 years ago
34 posts
aaaaaah.. that makes sense. Thank you Brian!!

M

Tags