I have Drupal 7 installed locally and I setup the subtheme for marinelli and everything worked great. Then I uploaded it to the server where I have Drupal 7 installed and I enabled the subtheme there, but the rotating banner is not showing.

The site is bentsh.com

Comments

leemako’s picture

Hi tshudyb, thought I would take a look at your issue see if it was similar to one I had seen previously but the theme on bentsh.com for non logged in users appears to be Garland. Perhaps if you change it to marinelli we could see better your issue.

bentsh’s picture

Sorry about that, I changed it back now.

leemako’s picture

looking at the page source there are a bunch of java script files not being called. Look in your marinelli/js folder and check you have the correct folders present. I have in mine the following folders each containing their relevant .js files:

banner
cycle
hoverintent
menu
modernizer
topregon

I can see that the last two are definatley being called from the source but the others are not. If these are missing simply copy them back out from the .zip downloaded from this site.

bentsh’s picture

I have all the folders present, and the funny thing is that I copied them directly from my localhost Drupal 7 installation and it is working fine.

mavimo’s picture

@tshudyb: can we close this issue?

UberPuppy’s picture

I have the same issue, so if anyone has found a fix, could you please post. Otherwise I suggest this remains open.

devaldivia’s picture

same issue here. Although I've been lazy and not running a localhost. I have the same error on the original Marinelli theme and on the subtheme.

henrikhansen’s picture

Probably the same issue I have. I can see the rotating banner when Marinelli banners are enabled, but not when classic drupal region is chosen.

Lioz’s picture

@henrikhansen: if you choose "classic drupal region" the banners won't appear. It's a theme feature.
@devaldivia and @UberPuppy Did you choose "classic drupal region" setting like henrikhansen?

tansylam’s picture

I have the same problem. The banner disappear from my localhost. How to I fix it? Because I MUST upload it to the webhosting and the website must go live this weekend. My 'client' would be really mad if the banner disappear. What can I do?

henrikhansen’s picture

OK, I had chosen "classic drupal region" to try to make the slideshow only show on the front,
but I have now solved it setting as visibility on all active banners.

FanisTsiros’s picture

Same issue here...
The strange is that images are automatically deleted from sites/default/files/banner folder !
Thumbs images in sites/default/files/banner/thumb folder are still there. I really don't know how/when this happens.

The procedure i followed was these steps:

I checked with ftp in sites/default/files/banner folder and my image files were not there.
I clicked the delete image in marinelli config page (for every missing image) and hit the save config button
I checked the log and indeed there were messages that the files could not be deleted because they were not existed.
I reuploaded new (three) images and everything was ok. The banners were rotating normally.
I checked with ftp and the three image files were there (in sites/default/files/banner folder)
I executed cron manually and there was no problem, everything was as ok.
After 5-6 hours i visited my page and the banners were again blank ! WTF. !
I checked again with ftp and the three image files were deleted again from sites/default/files/banner folder.

The only action was taken between this time interval was only an automatic cron run from drupal 7 and nothing else. Site is quite new and had no visits at all.

i think this is cron related. Does marinelli theme somehow wipes the files or cron?

Defrost-1’s picture

Is there no solution to this problem?

I have the same problem and really want the pictures to show! It is not a firefox block because they wont show in IE either. What should I do?

Edit-
Now non of the images show on the website! All of them are just error icons, what is wrong and what should i do?

Grateful for all help i can get =)

Lioz’s picture

Assigned: Unassigned » Lioz
Status: Active » Needs review

mmm maybe i got it

in theme-settings.php change the code in marinelli_settings_submit adding this line

$file->status = FILE_STATUS_PERMANENT;

 // Check for a new uploaded file, and use that if available.
  if ($file = file_save_upload('image_upload')) {
  	$file->status = FILE_STATUS_PERMANENT;
    if ($image = _marinelli_save_image($file)) {
      // Put new image into settings
      $settings[] = $image;
    }
  }

this forces status=1 in the files_managed table

let me know if this solves the problem

  • Lioz committed 7812f36 on 7.x-4.x
    Issue #1035808: fixed disappearing banners
    
    

  • Lioz committed 7812f36 on 7.x-4.x
    Issue #1035808: fixed disappearing banners
    
    
oadaeh’s picture

Assigned: Lioz » Unassigned
Issue summary: View changes
Status: Needs review » Closed (outdated)

I'm closing this, as it is quite old. If this is still a problem, feel free to re-open it with updated information. Also, try it on the 7.x-4.x branch, first.

oadaeh’s picture

Status: Closed (outdated) » Fixed

In looking deeper, I discovered this was actually fixed long ago, so I'm changing the status.
If this is still a problem, first try the 7.x-4.x branch, then open a new issue (do not re-open this one).
Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.