1
deepak267
Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/3/31 21:01

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Hi, I am getting the below error while installing extgallery v1.0.8 (from http://www.zoullou.net/)

on XOOPS 2.4.4


ERROR: Could not insert template extgallery_public-categories.html to the database.
ERROR: Could not insert template extgallery_public-album.html to the database.
ERROR: Could not insert template extgallery_index.html to the database.


Any idea how to fix it?

Deepak

2
ghia
Re: Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/4/1 7:14

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check if the files are present on your server (/modules/extgallery/templates/).
Add them and do an update of the module.

You may also verify if no other files are missing.

3
deepak267
Re: Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/4/1 10:28

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Thanks Ghia,
let me check that.

4
deepak267
Re: Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/4/1 22:44

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Hi Ghia,

I can see the 3 template file in the location. I tried to uninstall and then reinstalled the module but again the same error, I just copied the part of the installation Below..

Secondly how do i add the missing template? as in the System--> templates section it asks for "Choose a template set package to upload
Must be a tar.gz/.tar file with a valid XOOPS template set structure*" . could you please explain how can i add the missing template files.

Thanks in advance.

Deepak
----------------------------
Module data inserted successfully. Module ID: 10
Adding templates...
ERROR: Could not insert template extgallery_public-categories.html to the database.
ERROR: Could not insert template extgallery_public-album.html to the database.
Template extgallery_public-photo.html added to the database(ID: 109)
Template extgallery_public-photo.html compiled
ERROR: Could not insert template extgallery_index.html to the database.
Template extgallery_public-sendecard.html added to the database(ID: 111)
Template extgallery_public-sendecard.html compiled
Template extgallery_public-viewecard.html added to the database(ID: 112)

5
ghia
Re: Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/4/2 12:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


When updating the module, did you get the same errors?

Check if the templates are also in UTF-8 format (use NotePad++ editor) if your database/site uses UTF-8.

6
deepak267
Re: Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/4/3 14:30

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Thanks Ghia,
on debug mode, I am getting the following error:

Notice: Use of undefined constant _MI_EXTGAL_B_SUB - assumed '_MI_EXTGAL_B_SUB' in file /modules/extgallery/xoops_version.php line 481

Unknown: Assigning the return value of new by reference is deprecated in file /modules/extgallery/class/ExtgalleryPersistableObjectHandler.php line 78


Thanks in advance.

Deepak

7
ghia
Re: Extgallery v1.0.8 Installation error on Xoops 2.4.4
  • 2010/4/4 1:27

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Seems
define('_MI_EXTGAL_B_SUB',"Top submitters");
is missing in languagge modinfo.php file. Add it after _MI_EXTGAL_B_TOPESS.

The other deprecated error should not influence the results. Possible correction would be to remove the & from
function &create($isNew true) {
$obj =& new $this->className();

in ExtgalleryPersistableObjectHandler.php

Did you check the presence of the template files in error and their format?

Login

Who's Online

331 user(s) are online (247 user(s) are browsing Support Forums)


Members: 0


Guests: 331


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