I keep getting the following error since updating a number of modules and the core from 6.19 to 6.20
warning: Missing argument 1 for ajax_slideshow_get_node_ajax() in module on line 296.

Please advise.

Comments

udig’s picture

Hello WebGirl_Lisa,

Ajax_slideshow does not use any DB tables hence the upgrade should be fairly straightforward.
The below message implies that the ajax calls somehow call the specified function without the required parameter.
There are 2 possible reasons I can think of:
1. Not all files were upgraded correctly – remove the old files and place the latest as files at the relevant directory.
2. The ajax_slideshow view still contains the old data. Try to flush the cache and revert the DB (if this option is enabled). The view should include 2 displays (if there's only 1 – it is still the old view).

Good luck.

WebGirl_Lisa’s picture

I've tried both of these and still no resolution to my issue

WebGirl_Lisa’s picture

I'm still having this issue with no resolution. It would be nice to have some assistance.

udig’s picture

When saying that you were "updating a number of modules" - does it include the ajax_slideshow? if so from which version to which version?
Assuming that AS was upgraded, can you try to upgrade only the AS on the older site (before any other upgrade) and see if that worked? We need to try and pinpoint the piece of code which is the issue origin (is it inside the AS or not)?
One other thing you can try to do (even easier), is to completely uninstall the AS module + view + content type from your environment and then install v3.x - does it work?
(before doing that please ensure you have the current DB backed up so you can switch back after the check you make since you may loose the AS related data).
One last idea is to look at the code itself. There is only one place which is making that call to that function - this is at the ajax_slideshow.js on line 139. It should look like this:
url: Drupal.settings.basePath + 'photos/get/photos/' + nid,
Is that the code that you see there. I'd also open up the firebug scripts console and check the actual ajax calls that are being done after the page is up. you should see if the url ends up with the nid number or not.

WebGirl_Lisa’s picture

Yes I did update the AS from the 6.x-2 to 6.x-3.0. I had also upgraded from 6.19 to 6.22 as well. When I revert the AS back to the previous version, I have only one image. You can view it yourself http://ow.ly/5ixQU

I do see the code that you reference on line 139.

udig’s picture

Actually I don't see any image at the link you provided.
I looked at the firebug and could not find the AS HTML code neither.
?

WebGirl_Lisa’s picture

I went back to 6.x.2 and 6.x.3 seemed to be just flickering and giving me missing arguments error.

udig’s picture

Looking at http://dekalbparkdistrict.com/ I still can not trace any sign for the AS module (using firebug).

WebGirl_Lisa’s picture

I have it going and the images view but they don't advance unless I refresh the page or change pages.

WebGirl_Lisa’s picture

I'm new to drupal. I have a website that is running Drupal 6.22 and has an AJAX Slideshow module running.When I first upgraded from D .19 to 6.22 and updgraded modules including the ajax, I wasn't able to see my header images. I was able to get the header images to view by going into to blocks and pointing to the header images but the slide show isn't advancing unless I refresh or change pages. The web site is here http://ow.ly/5t3Qu

udig’s picture

Looking into the page with firebug, there is no trace for ajax slideshow html structure. I'd double check the header content origin.

theorichel’s picture

I am having the exact same error.

In my views there is only one view referring to Ajax slideshow, which is odfd since I never upgraded, I immediately started with v3

In the readme it is suggested without other comments to work with the mysomeain.com/slideshow-front pge. Bsides the mentioned error this has also an access denied message. I am however administertator and certainly no newbie

In this thread there is suddenly mention of a 'content type'. I have been looking for this, but I do not have it.