I installed the new version, and am now getting this message:

warning: file_get_contents(jquery.cycle.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/socalmov/public_html/includes/common.inc on line 2412.
warning: file_get_contents(jquery.cycle.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/socalmov/public_html/includes/common.inc on line 2412.

What do I need to do?
Also if I don't want the rotating banner option, is there a way to turn it off or do I have to use it? Thanks for the great there.

Comments

danpros’s picture

Hi,

Please try to clear the cache under perfomance first, It's like we uninstall a module by deleting the folder. Also try to switch to another theme first then change to Danland again.

If you can not fix that please try version 6x.1-3. Actually it's similar, we just adding the slideshow and pngFix. Download here.

CinemaSaville’s picture

Cache cleared. Issue still remains. Will go back to 6.13

danpros’s picture

We not call the jquery.cycle.min.js except from the frontpage, if you get that error message in another page must be some thing wrong with the JS configuration. If you optimize the CSS files or JavaScript files, please disable it first then clear the cache so the CSS or JS will rebuld. After rebuild the chace try switch to another theme and then go back to Danland.

This is from the Optimize CSS files options under perfomance :

This option can interfere with theme development and should only be enabled in a production environment.

But OK if you want to go back :)

CinemaSaville’s picture

OK, thanks, and in the new version, are you going to be providing an option with the slideshow to be turned on or off? Or do I have to stick with 6.13 for now if I only want the static banner? Thanks again for being so responsive, Dan.

danpros’s picture

Thanks again,

For now there is no option for it so you have to stick with 6.13 if only want the static banner. I just do not like seeing people get in trouble because of me :)

Regards,

danpros’s picture

Status: Active » Fixed

This bugs is already fixed. Here

danpros’s picture

Status: Fixed » Closed (fixed)

Issues closed.

beetlejuice’s picture

Version: 6.x-1.4 » 6.x-1.7
Status: Closed (fixed) » Active

Hi,

Great theme and a steep learning curve as this is my first CMS site.
I've been able to sort out nearly everything except for the pngfix error. Using Firefox and Firebug it tells me that $(document).pngFix is not a function.

And this from IE8

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322)
Timestamp: Wed, 21 Apr 2010 07:18:56 UTC

Message: Object doesn't support this property or method
Line: 44
Char: 9
Code: 0
URI: http://

Can you give me an idea where to look to resolve this?

Thanks

Greg

danpros’s picture

Hello,

Thanks for reporting this.

How about to change

$(document).pngFix

to

$(your image class here).pngFix
beetlejuice’s picture

Bit of a newbie in coding. The only png file I have on the site is the logo which is referred from /sites/default/files/danland_logo.png. Wouldn't it be easier to allow jpegs as the logo?
I would assume that as it's a png fix the code should already simply pick up any png files, shouldn't it?

Thanks again

danpros’s picture

IE 5/6 can not handle PNG transparency, and this pngFix is to fix that.

You can resolve this issue by doing this:

Replace the following code in page-front.tpl.php and page.tpl.php

<!--[if lt IE 7]>
        		<script type="text/javascript" src="<?php print $base_path . $directory; ?>/jquery.pngFix.js"></script>
	<![endif]--> 
<script type="text/javascript"> 
    $(document).ready(function(){ 
        $(document).pngFix(); 
    }); 
</script>

With

<!--[if IE 6]>
        		<script type="text/javascript" src="<?php print $base_path . $directory; ?>/jquery.pngFix.js"></script>
	<![endif]--> 
<!--[if IE 6]>
<script type="text/javascript"> 
    $(document).ready(function(){ 
        $(document).pngFix(); 
    }); 
</script>
<![endif]--> 

I will commit this changes to repository.

beetlejuice’s picture

Kudos Dan,

Fixed problem immediately.

danpros’s picture

Status: Active » Fixed

Great!

Next release this fixes will be included, and I added new feature superfish dropdown menu.

danpros’s picture

Status: Fixed » Closed (fixed)

Issues fixed and closed.

allenlarson’s picture

Hello, I am continually getting the following errors:

array_map() [function.array-map]: Argument #2 should be an array in /home/content/a/l/l/allenlarson/html/modules/system/system.module on line 1015.

array_keys() [function.array-keys]: The first argument should be an array in /home/content/a/l/l/allenlarson/html/includes/theme.inc on line 1817.

Invalid argument supplied for foreach() in /home/content/a/l/l/allenlarson/html/includes/theme.inc on line 1817.

I like your theme. Thank you for any help you can provide to resolve these errors

danpros’s picture

Hello,

What version of Danland you already intalled? Currently is 6.x-1.8 (released 3 days ago). Did you upgrade to the latest version? If you do please try to clear the cache under perfomance first.

danpros’s picture

Version: 6.x-1.7 » 6.x-1.8

Change to latest version.

allenlarson’s picture

i am using 6.x 1.8 i will try and clear the cache.

thank you