11
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 2:24

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Hi,

Can you try this in Firefox using Firebug and on the Net tab, check for get requests going to generate.php. Let me know if the variable spath is undefined.

Optikool

12
Burning
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 2:58

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Sorry, I don't know how do that...

If I call http://localhost/BBX/modules/gallery/include/generate.php

NoticeUndefined indexow in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 27

Notice
Undefined indexrpath in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 28

Notice
Undefined indexspath in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 29

Notice
Undefined indexwidth in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 30

Notice
Undefined indexheight in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 31

Notice
Undefined indextpath in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 32

Fatal error
Call to undefined function exif_imagetype() in C:wampwwwBBXmodulesgalleryincludegenerate.php on line 48


Perhaps someone else knows Firebug


13
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 5:38

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Firebug is a plug-in for Firefox. It is used by developers to track down errors among other things. It's a must have if you are doing web development.

Calling generate.php directly will not work. You need to give it a list of parameters.

I just update the module to fix the json issue with jquery 1.4. Try reinstalling or copying over just the js and include folders. Let me know if this fixes the problem...

http://www.optikool.com/modules/mydownloads/singlefile.php?cid=2&lid=15

Optikool

14
Burning
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 6:30

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Thanks for this improvment

... but nothing changes, same troubles.

I have just actived Debug mode (never too late ) :
Quote:
Fatal error: Call to undefined function exif_imagetype() in C:\wamp\www\BBX\modules\gallery\include\functions.php on line 130


This alert is only displayed one two tabs :
• Categories
• New collection

... I will try to find more information about exif_imagetype().

15
Burning
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 6:56

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Sorry, it was just a trouble with my server configuration
Now it works fine !

@Mazarin : check two files on your server :
• php/your-php/php.ini
• apache/your-apache/bin/php.ini

And activate two options (order is important) :
extension=php_mbstring.dll
extension=php_exif.dll



Thanks Optikool, I will send french translation quickly



Edit myself, I was too happy : some errors remains

• it seems that call to /js folder is not dynamic : www/modules/gallery/js/ (my site is on a subfolder). Then, I can not create collection.

• on the same tab New collection, I get this alert (debug mode)
Notice: Undefined offset: 1 in file /modules/gallery/admin/index.php line 792

• on front side, I get another alert (even I check permissions)
Fatal error: Call to undefined function checkPermissions() in C:\wamp\www\BBX\modules\gallery\index.php on line 60


@optikool : could you tell me wich XOOPS version are you using ? Your site is placed in root folder ? ... I would really like to test it usefully

16
Mazarin
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 8:47

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


I will download, update and try as soon as I get home.

@Burning:
- Can't change those parameters as I don't have access to them (it's a hosted site). It seems like I'm not quite getting the same errors as you though, so it might not be needed.
- You should really try Firefox with the Firebug add-on. It's really great!

17
redheadedrod
Re: Gallery (Optikool) - Cannot create categories or collections

I tried using this module with 2.4.3 XOOPS and had the same problem with the catagories. No "add" tab was displayed.

I will look at this again when I get home tonight and see if anything changes.

Looks promising to do what I need if I can get it to work..

I got a white screen when I tried to access the module from my "user menu".

I do worry though that the initial screen looks like it requires register globals (I believe, not at home and can not access my notes from work.) to be turned on which has been noted elsewhere as being a security issue. And it WILL be flagged as a security hole with Protector.

Rodney


18
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 17:52

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Hi Burning,

Thanks for all the testing you are doing. I don't run into any of these issues even though I uninstall and re install before I zip up the finished module. I'm also using a Linux web server to do my tests and most PHP plug-in are already installed.

exif_imagetype() is a PHP function to test image type. Mazarin if you're not seeing an error relating to this, your server already has it enabled.

checkPermissions: I'm not sure why my didn't see this in my tests, but try adding the following to the top of index.php

include_once "include/functions.php";


Undefined offset on line 792. I'll have to look into this more and try installing a version of XOOPS in a sub directory.

I am using XOOPS version 2.4.0

Optikool

19
optikool
Re: Gallery (Optikool) - Cannot create categories or collections
  • 2010/1/25 17:55

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


This module doesn't require register global. It's just there for information. It also doesn't require safe mode to be enabled.

Optikool

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

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


No luck with the new version. Same problems

Login

Who's Online

368 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 368


more...

Donat-O-Meter

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

Latest GitHub Commits