CMS MADE SIMPLE FORGE

Gallery

 

[#6385] Call to undefined function in Modul Gallery

avatar
Created By: Stephan Pietzko (pitz)
Date Submitted: Mon Apr 11 05:16:14 -0400 2011

Assigned To: Jos (josvd)
Version: 1.4.4
CMSMS Version: None
Severity: Major
Resolution: Accepted
State: Closed
Summary:
Call to undefined function in Modul Gallery
Detailed Description:
After installing der Gallery Modul i get the error "Fatal error: Call to
undefined function mysql_error() in
/var/www/mysite.de/modules/Gallery/Gallery.module.php on line 456"

I have cmsms 1.8.2 "Toliara", Gallery 1.4.4 (same error with 1.4.1) and php
5.2.6. And i use PostgreSQL 8.3.12! not MySQL. The line of code correspond to
the  _Getgalleryfiles function. I created a dir in /uploads/images/Gallery and
put some pictures there. After that i put the "{Gallery}" on a testpage and get
the error above.


History

Comments
avatar
Date: 2011-04-25 16:39
Posted By: Jos (josvd)

solving this error will probably pop up another error for mysql_error() only
gets called in case of an error...

I don't have PostgreSQL so I'm not able to test. Can you tell what the first
error is?
      
avatar
Date: 2011-06-27 06:31
Posted By: Jos (josvd)

A fellow user provided acces to a CMSms postgreSQL install, so this issue is
pending. Hope I can fix this
      
avatar
Date: 2012-02-12 10:56
Posted By: Jos (josvd)

This should be fixed now... I could not fully test it though
      
Updates

Updated: 2012-02-12 10:56
cmsms_version_id: => -1
state: Open => Closed

Updated: 2011-06-27 06:31
resolution_id: 10 => 6

Updated: 2011-04-25 16:39
resolution_id: => 10
assigned_to_id: 100 => 11752