Pre-Installation Test

Permalink
Hello,

I have quite a few C5 sites but since my host - Dreamhost has removed the one click install I have taken it upon myself to do it manually.

I have searched a lot of the forum and have not found a fix for what I am seeing here.

On the Pre-Install - I have Green Checks for everything except for -
JavaScript Enabled which is showing RED - The question mark to the right says to have javascript enabled in your browser ( which I do )

The other one is the Supports Concrete5 request URLs

I have looked all over and cant seem to find a resolution to this issue.

Any help would be greatly appreciated.

Thanks
Sparker

 
MAXXSERVERS replied on at Permalink Reply
anyone got any ideas for me here?

Ideas are as good as facts imo.
MAXXSERVERS replied on at Permalink Reply
Just a quick Bump here.. Anyone got any ideas at all?

I have looked everywhere for an answer and have not gotten so much as a Hint.

Thanks in advance.
webicine replied on at Permalink Reply
webicine
This isn't necessarily going to help you, but I, too, am a DreamHost customer and manually set up a C5 install since they removed the one-click install for it. I didn't have any issues with mine though... everything checked out and the install went smoothly.
xaritas replied on at Permalink Reply
The code for the JavaScript-enabled test lives ENTIRELY in the install page, which can be found at concrete/single_pages/install.php. Basically, it displays "you don't have javascript enabled," and then runs some JavaScript which hides that message.

<td class="ccm-test-js"><img id="ccm-test-js-success" src="<?php echo ASSETS_URL_IMAGES?>/icons/success.png" style="display: none" />
   <img src="<?php echo ASSETS_URL_IMAGES?>/icons/error.png" /></td>
<td width="100%"><?php echo t('JavaScript Enabled')?></td>
<td class="ccm-test-js"><img src="<?php echo ASSETS_URL_IMAGES?>/icons/tooltip.png" class="tooltip" title="<?php echo t('Please enable JavaScript in your browser.')?>" /></td>
</tr>
// ... later on...
<script type="text/javascript">
$(function() {
   $(".ccm-test-js img").hide();
   $("#ccm-test-js-success").show();
// ... etc
}


So, basically, the test is correctly saying that JavaScript isn't working as expected on this particular page. The first thing you should do is try a different browser.

Here are some suggestions to actually help you isolate the problem:
1) Maybe you disabled JavaScript for just this specific domain at some point and you forgot?
2) Maybe you changed install.php at some point and broke this test?
3) Maybe you moved/changed the jQuery library somehow?
4) Open the JavaScript console and see if it is throwing any error messages
5) Likewise check the resources tab on your console and see if some library is not being downloaded for some reason.

If all that fails, pick your computer up, throw it in the garbage, and get a new one. Ha ha, only kidding.
xaritas replied on at Permalink Reply
One other thought... since you are on Dreamhost, and it's been compromised quite a bit lately, it's possible, though unlikley, that a PHP injection script could be interfering with with the JavaScript test. You might want to see if you have the issue I describe here:

http://www.concrete5.org/community/forums/customizing_c5/if-your-dr...
MAXXSERVERS replied on at Permalink Reply
Thanks for all the notes and tips guys.

I am going to remove everything and try again since 1 person was able to get it to run on DH without an issue.

Tested on several browsers - IE - FF and GC

I Helped a few people out with removing the injection BS so I am sure it is not that.

Thanks again for all your ideas.

I will test a few other things and hopefully figure this one out.
xaritas replied on at Permalink Reply
At this point I would probably make a back up of install.php and add a basic javascript test (like <script>alert('hello!');</script>) just to sanity check things, and then start removing code to try to isolate the problem. Good luck.