Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Suddenly Front end blank. Admin fine.

Suddenly Front end blank. Admin fine.

Views: 15,173

Results 21 to 40 of 78
7 Jul 2016, 2:08 PM
#21
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Suddenly Front end blank. Admin fine.

Nepherael:

Apologies. What is there is what I pulled from the root. The new directory does not have an htaccess.

Hmmm. The thot plickens... if this was from the root folder, there is nothing to perfom a redirect to the /new/ folder when the browser is pointed to http://yourdomain/ so, what happens when you point the broweser to http://yourdomain/new/ ?

Cheers
Rod

7 Jul 2016, 2:10 PM
#22
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

RodG:

I'd be strongly tempted to delete/rename this file. With your current zen install it doesnt appear to be doing anything, and if the domain names did match (www vs no www) it looks like it will be asking for a password to access the site, and if the auth paths are wrong, or the auth files are unreadable you could possibly end up with the blank screen. ... just a thought.

Cheers
RodG

Hey I'll take any leads. I have backups of it so I'll just delete and report back

7 Jul 2016, 2:16 PM
#23
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

RodG:

Hmmm. The thot plickens... if this was from the root folder, there is nothing to perfom a redirect to the /new/ folder when the browser is pointed to http://yourdomain/ so, what happens when you point the broweser to http://yourdomain/new/ ?

Cheers
Rod

There is a huge mess of redirects I left out. They were added after the issue and are working correctly. Sorry for the confusion.

Tested without the posted code. No change

Here's all the redirects.

rewriteengine on
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^$ "http\:\/\/lightsforholidays\.com\/new" [R=301,L] #577cf767e0212
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^pub(.*)$ "http\:\/\/lightsforholidays\.com\/new\/pub$1" [R=301,L] #577cedc587589
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^extras(.*)$ "http\:\/\/lightsforholidays\.com\/new\/extras$1" [R=301,L] #577cec60140a7
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^logs(.*)$ "http\:\/\/lightsforholidays\.com\/new\/logs$1" [R=301,L] #577ced99b5c4e
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^index\.php(.*)$ "http\:\/\/lightsforholidays\.com\/new\/index\.php$1" [R=301,L] #577cee609adc0
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^robots_example\.txt(.*)$ "http\:\/\/lightsforholidays\.com\/new\/robots_example\.txt$1" [R=301,L] #577cef5c941d6
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^images(.*)$ "http\:\/\/lightsforholidays\.com\/new\/images$1" [R=301,L] #577cecaa832a7
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^editors(.*)$ "http\:\/\/lightsforholidays\.com\/new\/editors$1" [R=301,L] #577cec1f3fe21
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^page_not_found\.php(.*)$ "http\:\/\/lightsforholidays\.com\/new\/page_not_found\.php$1" [R=301,L] #577cef2f95c1e
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^media(.*)$ "http\:\/\/lightsforholidays\.com\/new\/media$1" [R=301,L] #577cedb21ba65
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^download(.*)$ "http\:\/\/lightsforholidays\.com\/new\/download$1" [R=301,L] #577cebf307356
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^mcs_learn_more\.html(.*)$ "http\:\/\/lightsforholidays\.com\/new\/mcs_main_handler\.html$1" [R=301,L] #577ceeed4a9b6
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^email(.*)$ "http\:\/\/lightsforholidays\.com\/new\/email$1" [R=301,L] #577cec38a948d
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^ipn_main_handler\.php(.*)$ "http\:\/\/lightsforholidays\.com\/new\/ipn_main_handler\.php$1" [R=301,L] #577ceeb9ee787
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^cache(.*)$ "http\:\/\/lightsforholidays\.com\/new\/cache$1" [R=301,L] #577ceb7b360bf
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^includes(.*)$ "http\:\/\/lightsforholidays\.com\/new\/includes$1" [R=301,L] #577cecd23ff12
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^vbv_learn_more\.html(.*)$ "http\:\/\/lightsforholidays\.com\/new\/vbv_learn_more\.html$1" [R=301,L] #577cef8c07e18
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^nddbc\.html(.*)$ "http\:\/\/lightsforholidays\.com\/new\/nddbc\.html$1" [R=301,L] #577cef0c20ce5
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^docs(.*)$ "http\:\/\/lightsforholidays\.com\/new\/docs$1" [R=301,L] #577ceba077986
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^adminurrhtcqq(.*)$ "http\:\/\/lightsforholidays\.com\/new\/adminurrhtcqq$1" [R=301,L] #577ceb42175ff
7 Jul 2016, 2:30 PM
#24
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Suddenly Front end blank. Admin fine.

Sheet, some people do like their needless redirects (a better way is to set the "document root" for the domain to be the folder where the files reside... no redirects needed.
Meanwhile, assuming you cant do that, please delete/rename that .htaccess file, then point your webbrowser to http://yourdomain.com/new/index.php
Report the results.
Thanjs
RodG

7 Jul 2016, 2:31 PM
#25
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Suddenly Front end blank. Admin fine.

Also, please rename your admin directory. Those redirects are certainly an issue.

7 Jul 2016, 2:36 PM
#26
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Suddenly Front end blank. Admin fine.

Also, how long has the site been located in the directory called "new"? ... im thinking (clutching at straws), is that godaddy may have recently(?) updated theiw mod_security rules, and "new" could be considered as a restricted keyword.. is so, I will have a hard time explaning why it doesnt trigger when accessing the admin area, so perhaps we should scub this idea, for now

7 Jul 2016, 2:43 PM
#27
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

mc12345678:

Also, please rename your admin directory. Those redirects are certainly an issue.

OK the redirects have to be there. I don't know the details because I'm not a coder. I've built a lot of (crappy) sites but I survive on research. The redirects have always been there but they were in the root directory as some sort of file that could not be downloaded or opened and just said "target: /new/xxxx" when mouse over. They've been deleted and recreated using the redirects I posted.

Without the redirects the site just gives an error saying its coming soon and if I'm the owner I uploaded it wrong. That's why I didn't post them. They have been there for years and years. If I move the whole site to the root so that I can remove those redirects it will create more problems than it solves.

Now if I rename my admin directory I will not have access to the administration. I've tried it without the redirects already. Godaddy doesn't allow the "primary" domain in a subdirectory so if you're on a Godaddy server you have to find a way to make a subdirectory work. I wouldn't have used this way but as it's the way the site was built I can't try and fix it until the site is working again.

Remember the admin side of the site functions perfectly.

Also, it looks as if they have used the default template too. No additional modules. No transaction modules etc.

That's why I'm think this is either some form of corrupted data in the database or the website needs to be updated because if some sort of server update on Godaddy's end. But as there are no backups of anything prior to this error I can't restore the database and updating the site is a last resort until I know that is the solution.

7 Jul 2016, 2:45 PM
#28
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

RodG:

Sheet, some people do like their needless redirects (a better way is to set the "document root" for the domain to be the folder where the files reside... no redirects needed.
Meanwhile, assuming you cant do that, please delete/rename that .htaccess file, then point your webbrowser to http://yourdomain.com/new/index.php
Report the results.
Thanjs
RodG

Tested. Nothing

7 Jul 2016, 2:47 PM
#29
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

RodG:

Also, how long has the site been located in the directory called "new"? ... im thinking (clutching at straws), is that godaddy may have recently(?) updated theiw mod_security rules, and "new" could be considered as a restricted keyword.. is so, I will have a hard time explaning why it doesnt trigger when accessing the admin area, so perhaps we should scub this idea, for now

Maybe more than 5 years.

I was thinking it was something like this too I just don't know enough to know the specific things to try and fix.

Also, I've called Godaddy but they haven't been able to help me much. I asked if they did any updates but they said no (I doubt the average CSR would know though)

I've been leaning toward server side update since minute 1 because no one has accessed anything to do with the site in a long time. Just don't know what to fix on my end to get the compatibility back in line

7 Jul 2016, 2:51 PM
#30
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Suddenly Front end blank. Admin fine.

mc12345678:

Another "direction" is related to having a local directory and contents within it./home/content/l/i/g/lights4holiday/html/new/includes/local. Is it present? What files are present? is there a configure.php file?

Nepherael:

OK the redirects have to be there. I don't know the details because I'm not a coder. I've built a lot of (crappy) sites but I survive on research. The redirects have always been there but they were in the root directory as some sort of file that could not be downloaded or opened and just said "target: /new/xxxx" when mouse over. They've been deleted and recreated using the redirects I posted.

Without the redirects the site just gives an error saying its coming soon and if I'm the owner I uploaded it wrong. That's why I didn't post them. They have been there for years and years. If I move the whole site to the root so that I can remove those redirects it will create more problems than it solves.

Now if I rename my admin directory I will not have access to the administration. I've tried it without the redirects already. Godaddy doesn't allow the "primary" domain in a subdirectory so if you're on a Godaddy server you have to find a way to make a subdirectory work. I wouldn't have used this way but as it's the way the site was built I can't try and fix it until the site is working again.

Remember the admin side of the site functions perfectly.

Also, it looks as if they have used the default template too. No additional modules. No transaction modules etc.

That's why I'm think this is either some form of corrupted data in the database or the website needs to be updated because if some sort of server update on Godaddy's end. But as there are no backups of anything prior to this error I can't restore the database and updating the site is a last resort until I know that is the solution.

Can rename the admin, but will have to also modify the htaccess to match if the redirects will stay.

Still have the question of the above attached post. Results?

7 Jul 2016, 2:52 PM
#31
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Suddenly Front end blank. Admin fine.

Please do as I asked.

I acknowedge that the the redirects will need to be there for the site to function under normal conditions based on your current configuations, but that is not the point.

I have good reason to ask you to do this, and do it again now even if you've already tried it previously.

Humour me. Ok? (also, dont replace them after your own test. I want to see for myself, so report back when they are no longer in place).

Rememember, we are trying to help, not trying to give you a hard time..

7 Jul 2016, 2:55 PM
#32
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Suddenly Front end blank. Admin fine.

As to the "error message" of not being installed, do the DB_PREFIX values in both the includes/configure.php match those in the admin/includes/configure.php (assuming that there is not similar related information in the includes/local folder).

The result of saying that the store has been "newly" installed indicates that the database information is not pointing to the "right" place.

7 Jul 2016, 3:06 PM
#33
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

there is no local directory. Throughout my research to fix this I may have created that directory for a short period and added a file to do some loading testing but no that directory was not there prior to this and is not there right now

7 Jul 2016, 3:09 PM
#34
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

RodG:

Please do as I asked.

I acknowedge that the the redirects will need to be there for the site to function under normal conditions based on your current configuations, but that is not the point.

I have good reason to ask you to do this, and do it again now even if you've already tried it previously.

Humour me. Ok? (also, dont replace them after your own test. I want to see for myself, so report back when they are no longer in place).

Rememember, we are trying to help, not trying to give you a hard time..

If by this you're asking that I do this

RodG:

Sheet, some people do like their needless redirects (a better way is to set the "document root" for the domain to be the folder where the files reside... no redirects needed.
Meanwhile, assuming you cant do that, please delete/rename that .htaccess file, then point your webbrowser to http://yourdomain.com/new/index.php
Report the results.
Thanjs
RodG

I tested it right away when you asked. I just removed the file again (no redirects now) so it is available for you to check now

7 Jul 2016, 3:11 PM
#35
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Suddenly Front end blank. Admin fine.

Nepherael:

I was thinking it was something like this too I just don't know enough to know the specific things to try and fix.
Thats why we are giving you guidance (or at least trying to)

You appear to be fighting us though.. eg, we asked to see the contents of the .htaccess file, but you chose to not show the important stuff we wanted to see.. namely, the redircts.

Nepherael:

Also, I've called Godaddy but they haven't been able to help me much. I asked if they did any updates but they said no (I doubt the average CSR would know though)
That info is no help to us.
Nepherael:

I've been leaning toward server side update since minute 1 because no one has accessed anything to do with the site in a long time. Just don't know what to fix on my end to get the compatibility back in line

Compatibility was just one of the 1st possibilities suggested. We now enough info to pretty much rule that one out... you/need to move forward and not get stuck on the past...

7 Jul 2016, 3:14 PM
#36
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

RodG:

Thats why we are giving you guidance (or at least trying to)

You appear to be fighting us though.. eg, we asked to see the contents of the .htaccess file, but you chose to not show the important stuff we wanted to see.. namely, the redircts.

Apologies

7 Jul 2016, 3:17 PM
#37
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Suddenly Front end blank. Admin fine.

Presumably my cache has been cleared, but I still get 1) a redirect from the url to the sub-folder and still get a blank page whether using the base url, the url with folder and/or url with folder and index.php...

I do not get the "error" that the store needs to be configured. Anyone else confirm or obtain different results?

Nevermind, Internet worked itself out. Getting the godaddy error not related to ZC.

7 Jul 2016, 3:36 PM
#38
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Suddenly Front end blank. Admin fine.

Nepherael:

(no redirects now) so it is available for you to check now

Eeeekkkk... and interesting.... and to be perfectly honest, I really dont know what to make of this... One thing I can tell you with 100% certainty though is that the problem isnt one that you can fix... and if godaddy cant or wont help, you need to find another host.

Godaddy have something in place that is intercepting the requests... perhaps not all, but enough to cause a problem.
Having said that, I have one more thing id like to try/test. Could you please replace the .htaccess file but leaving only the stuff that you previously posted (iow, delete the redirects but leave the other stuff in place). It may be the other stuff that is needed to prevent the results that made me say Eeeeek.

Just in case you are wondering, my tests involved intentionallytrying to load a page/file that I knew wouldnt be found... expecting to see normal zencart behaviour. What i saw instead was a godaddy specific result, which should never happen.
The removal of the redirects wouldnt change the zencart behaviour for this regard, so im now wondering if I/we will get the normal zen behaviour with the godaddy. Htaccess rules in place, and without the redirects... if you/we do get the standard zencart file not found behaviour, the search continues, but if we get the goddady file not found behaviour then the probalem is with godaddy, and only they can fix it.
There is also a possibility that the .htaccess with the go daddy rules and without the redirects could make the store work again but only if you point the browser to http://youdomain/new/ follow?
Scheers
RodG

7 Jul 2016, 3:47 PM
#39
nepherael avatar

nepherael

New Zenner

Join Date:
Jul 2016
Posts:
29
Plugin Contributions:
0

Re: Suddenly Front end blank. Admin fine.

File replaced. No redirects

That's interesting. If I load something like domain/new/index1123.php I still get the zen cart error that it wasn't uploaded

7 Jul 2016, 3:50 PM
#40
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Suddenly Front end blank. Admin fine.

Another suggestion (should have thought of this ages ago). Check the files in the /new/ folder. If you see one called index.htm or index.html delete it.