21
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/26 17:08

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Making small progress.

First of all, the module doesn't find the js files. This is easy to correct by inserting the site URL before the moddir variables in admin/index.php on lines 814, 815, 820, 838, 839, and 840.

Unfortunately, after that I'm stuck again as it seems the 'spath' is undefined, thus the function to create the thumbnails can't find the directory in question and no collections are added.

So, still unsolved (the prefix for this thread should be changed), but I'm keeping my fingers crossed that Optikool or some other creative user comes up with a solution.

22
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/26 17:47

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Hi Mazarin,

Do you have the plugin Firebug installed for Firefox? Firebug Plugin

If so can you check to see what version of jQuery you are using? Just load the page with firebug open, then click the Console tab and in the box at the bottom of the screen with the >>> type jQuery.fn.jquery and let me know what version it says. If you don't see the >>> then click on the arrow next to Console and uncheck Larger Command Line.

If it says 1.4 then go to the Net tab and check if there are any 404 requests in red and make a note of them. Then hit the clear button to clear out the requests. Next click the Add Collections button and you should start seeing some get requests going to the same generate.php file. If you hover over those requests it will show you the query string. Let me know if the query string has a bunch of undefined values. Also click on the pluss sign next to the get request for getparams.php (the first request at the top of the list) and click on the response tab. The key/value pairs should each be in double quotes. If it is now let me know which ones are not.

Optikool

23
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/26 18:58

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Yes, I use Firebug and the jquery version is 1.4.

I fixed the 404's as stated in the post above.

The query to generate is this:
nameofsite.com/hasselbacken2/modules/gallery/include/generate.php?ow=0&rpath=pictures/misc&spath=undefined&width=undefined&height=undefined&filter=undefined&tpath=undefined

In getparams I get this response:
{"params":[{"rpath":"/var/www/hasselbacken2/modules/gallery/gal", "width":"100", "height":"100", "filter":"", "tlocal":"/var/www/hasselbacken2/uploads"}]}

I run the site in a folder 1 level "below" the root folder of the webserver on a Linux machine.


24
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/27 3:38

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Hi,

It sounds like both you and Burning are doing the same things. I have not tested this module on a website that is in a sub folder from the document root or on a Windows server which Burning is on. I will need to test this, probably this weekend and see if I can reproduce this problem.

Optikool

25
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/28 21:29

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Sounds good. Let me know if I can help in any way.

26
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/2/2 8:12

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Any progress Optikool?

27
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/2/3 4:14

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Hi,

Sorry I've been busy last week and this week with projects at work. I will try to fix this this weekend.

Optikool

28
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/2/3 11:11

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Great! I hope we can solve this.

29
Burning
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/2/6 18:11

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

French translation is available here


30
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/2/6 18:52

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Have you got it working, Burning?

Login

Who's Online

228 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 228


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits