Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Navigation buttons not working
DimGeorg
#1 Posted : Saturday, 4 February 2012 11:51:12 AM(UTC)
Rank: Newbie

Joined: 4/02/2012(UTC)
Posts: 2
Location: Cyprus

A nice day to everyone!

I would appreciate any available help.

While I consider myself a medium level asp programmer, I managed to include Gallery Server Pro into my site (still on the development bed) in a small period of time. I am working on VS2008Pro with SQL2008R2 and the default AspNet SqlMembershipProvider.

Using Roger's help (immediately responded) I installed compiled version 2.4.8 since I am using .Net 3.5. I copy all necessary files into my bin/App_GlobalResources directories, created the \gs directory and copied the files there and finally, combined my web.config file with the one recommended for sql2005. After a few tries the initial GSP screen came up on the page where the control was included! All that within just a few hours work!!

Excited enough, I started by adding a new album and a couple of pictures. However, when I tried to navigate between them with the blue arrows, I landed myself back to earth. Life cannot be so easy! Such a great and significant project must have some pitfalls for me to fall in. I am sure I did something wrong!

What actually happens is this. When I press either arrow/button the mouse cursor turns to hourglass (waiting) and stays there for ever. No, I am not running in debug mode and the code is not breakpointed anywhere!!

I also noticed that if I try to change the picture caption by double-clicking on it the page still hangs when I press save changes. Nevertheless, I did manage to change the captions from the Actions menu.

Thanks for your time looking into it.
I would be glad to send any other info.


DimGeorg attached the following image(s):
DimGeorg attached the following image(s): arrows_notworking.JPG
daveburke
#2 Posted : Saturday, 4 February 2012 4:46:02 PM(UTC)
daveburke

Rank: Advanced Member

Joined: 12/01/2009(UTC)
Posts: 62
Location: Vermont

DimGeorg,

You tell a good story! :-) It sounds like you're really close.

That arrow calls a javascript function (showNextMediaObject() to be exact) so you want to make sure you are using the latest JQuery 1.6 (or higher) which you can view in page source and/or in GSP Administration. (I'd check both to be sure.)

A great diagnostics tool for javascript issues like this is Firebug with Firefox. The Web development tools with Chrome and even IE would help you as well. Firebug will display any javascript errors in the console window (in red even.)

Good luck! I'm sure your GSP Story will have a happy ending.

-Dave
Roger Martin
#3 Posted : Saturday, 4 February 2012 10:35:47 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Dave has good advice. Also look in the error log in the site admin area for clues.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
DimGeorg
#4 Posted : Sunday, 5 February 2012 1:31:22 PM(UTC)
Rank: Newbie

Joined: 4/02/2012(UTC)
Posts: 2
Location: Cyprus

Thanks Dave and Roger...

I don't use JQuery anywhere in my web application. JQuery only exists within GPS.
I noticed the following error in gs_AppError table and in the GPS site admin error log

"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)"

This error is repeated continiously (this is probably why I het the hourglass mouse cursor)

Dave, you are right about firebug. It seems like a great tool. I did find right away the onclick sub you mensioned for the blue next button. However, I was not able to follow the code to figure out why the next object does not show.

I want to believe that the above error looks familiar to you people so I can get some more help.

Always appreciated

Roger Martin
#5 Posted : Monday, 6 February 2012 9:24:46 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

It is hard to provide support once you've integrated into an existing website because I don't know the architecture and it is possible your customization has created a runtime code path that I never tested (and has a bug).

You'll have to follow standard troubleshooting protocol:

1. Start with a known-good scenario. Install a fresh copy of GSP as a stand-alone website and verify it works.

2. Using small steps, move toward your goal, verifying as frequently as possible.

You can also try debugging your current architecture by adding debugging symbols (PDB files) into the bin directory. I often use this trick when debugging GSP inside a DotNetNuke installation.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.