Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 107
Total: 107

Author Topic: Error in galleryinstall.php  (Read 11846 times)

0 Members and 1 Guest are viewing this topic.

Offline Kahuna

  • Member
  • *
  • Posts: 6
    • View Profile
Error in galleryinstall.php
« on: September 22, 2006, 08:18:19 am »
Arg! Just a Package what i did need, but it don't work. After showing Readme in SMF Packages Manager, and clicking Install Now getting error:

Incorrect table name ''
File: .../Packages/temp/galleryinstall.php
Line: 39

Using SMF 1.1 RC3

But when I look the galleryinstall.php theres nothing wrong whit it.  :-\
So any ideas?
« Last Edit: September 22, 2006, 08:22:59 am by Kahuna »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #1 on: September 22, 2006, 08:34:48 am »
What MySQL version are you running?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #2 on: September 22, 2006, 08:38:30 am »
I have not seen that error before.

You can also try to manually install the database tables in phpmyadmin then run the package manager again
Code: [Select]
CREATE TABLE IF NOT EXISTS `smf_gallery_pic`(
`ID_PICTURE` int(11) NOT NULL auto_increment,
`ID_MEMBER` mediumint(8) unsigned NOT NULL default '0',
`date` int(10) unsigned NOT NULL default '0',
`title` VARCHAR(100) NOT NULL,
`description` text,
 `views` int(10) NOT NULL default '0',
 `filesize` int(10) NOT NULL default '0',
 `height` int(10) NOT NULL default '0',
 `width` int(10) NOT NULL default '0',
 `filename` tinytext,
 `thumbfilename` tinytext,
 `commenttotal` int(10) NOT NULL default '0',
 `ID_CAT` int(10) NOT NULL default '0',
 `approved` tinyint(4) NOT NULL default '0',
 `allowcomments` tinyint(4) NOT NULL default '0',
 `keywords` VARCHAR(100) NOT NULL,
PRIMARY KEY  (`ID_PICTURE`));


CREATE TABLE IF NOT EXISTS `smf_gallery_comment`(
`ID_COMMENT` int(11) NOT NULL auto_increment,
`ID_PICTURE` int(11) NOT NULL,
`ID_MEMBER` mediumint(8) unsigned NOT NULL default '0',
`approved` tinyint(4) NOT NULL default '0',
`comment` text,
`date` int(10) unsigned NOT NULL default '0',
PRIMARY KEY  (`ID_COMMENT`));

CREATE TABLE IF NOT EXISTS `smf_gallery_cat`
(`ID_CAT` mediumint(8) NOT NULL auto_increment,
`title` VARCHAR(100) NOT NULL,
`description` VARCHAR(255) NOT NULL,
`roworder` mediumint(8) unsigned NOT NULL default '0',
`image` VARCHAR(255) NOT NULL,
PRIMARY KEY  (`ID_CAT`));

CREATE TABLE IF NOT EXISTS `smf_gallery_report`
(`ID` int(11) NOT NULL auto_increment,
`ID_PICTURE` int(11) NOT NULL,
`ID_MEMBER` mediumint(8) unsigned NOT NULL default '0',
`comment` text,
`date` int(10) unsigned NOT NULL default '0',
PRIMARY KEY  (`ID`));

REPLACE INTO smf_settings VALUES ('gallery_max_height', '2500');
REPLACE INTO smf_settings VALUES ('gallery_max_width', '2500');
REPLACE INTO smf_settings VALUES ('gallery_max_filesize', '5000000');

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Kahuna

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error in galleryinstall.php
« Reply #3 on: September 22, 2006, 08:40:34 am »
Jep, I did try running it directly in MySQL and it did work. But galleryinstall.php don't work :F.
And MySQL version 3.23.58
« Last Edit: September 22, 2006, 08:45:00 am by Kahuna »

Offline Kahuna

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error in galleryinstall.php
« Reply #4 on: September 22, 2006, 09:01:11 am »
So i mean that the Package Manager won't install the Gallery Even if I run MySQL stuff manually.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #5 on: September 22, 2006, 09:08:39 am »
Well you can blank out the galleryinstall.php just remove all the stuff between <?php ?> rezip it up and upload it to the packages folder and run the install again.

You are running a pretty old MySQL version the oldest that SMF supports.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Kahuna

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error in galleryinstall.php
« Reply #6 on: September 22, 2006, 11:20:50 am »
Yea, Install was now successfully. Any ideas where this error comes then "Unable to load the 'main' template."   ;D

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #7 on: September 22, 2006, 11:34:09 am »
Check that gallery.template.php is in your themes folder.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Kahuna

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error in galleryinstall.php
« Reply #8 on: September 22, 2006, 11:43:29 am »
Ou... Just found out that it have created every file but they all are 0 bytes...  :D But thanks for all help.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #9 on: September 22, 2006, 11:47:47 am »
Yeah then you will have to copy over the files to the correct locations if you can.

I would think about upgrading your host if you can sounds like they are using older software.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Kahuna

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error in galleryinstall.php
« Reply #10 on: September 22, 2006, 01:20:23 pm »
Yea, now everything is working great. Thaks from the mod. BTW do you want a finnish translation. I did all redy have done it. I send you PM.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #11 on: September 22, 2006, 01:41:53 pm »
Yes please everyone bit helps.
« Last Edit: September 22, 2006, 02:41:45 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline DimZoneX

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 2
    • View Profile
Re: Error in galleryinstall.php
« Reply #12 on: November 27, 2006, 06:53:32 pm »
HELP !!!!!
Fatal error: Call to undefined function db_query() in /usr/home/dimzonex/domains/r-u-s.info/public_html/forum/galleryinstall.php on line 22

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Error in galleryinstall.php
« Reply #13 on: November 27, 2006, 07:35:41 pm »
You need to install this mod though the package manager. Upload the zip file to your packages folder on your site then apply the package though the package manager in the admin part of your forum
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline DimZoneX

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 2
    • View Profile
Re: Error in galleryinstall.php
« Reply #14 on: November 28, 2006, 12:32:02 am »
Write actions on items:
1).............?
2)..............?
And so on.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
9785 Views
Last post September 19, 2006, 07:51:14 am
by muehli
1 Replies
4717 Views
Last post November 20, 2006, 03:00:57 pm
by Elkaholic
4 Replies
6343 Views
Last post January 30, 2007, 06:25:15 pm
by TenshiHime
2 Replies
6307 Views
Last post August 23, 2007, 07:20:24 pm
by rumboogy
4 Replies
11556 Views
Last post February 09, 2008, 11:44:03 pm
by ApplianceJunk

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal