Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4239
Latest: 3dickulus
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43126
Total Topics: 7500
Most Online Today: 87
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 48
Total: 48

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - G6

Pages: [1]
1
Code: [Select]
Error

SQL-question:

db_query(
"CREATE TABLE IF NOT EXISTS {$db_prefix}welcome (ID smallint(5) unsigned NOT NULL auto_increment, welcomesubject tinytext, welcomebody text, PRIMARY KEY (ID))", __FILE__, __LINE__
)

MySQL sa: Dokumentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}welcome
(ID smallint(5) unsign' at line 1

Get this both through the manager and through the PHP myadmin

This is the SQL code thats in the WelcomeTopicsql.php file

Code: [Select]
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}welcome
(ID smallint(5) unsigned NOT NULL auto_increment,
welcomesubject tinytext,
welcomebody text,
PRIMARY KEY (ID))", __FILE__, __LINE__);

db_query("REPLACE INTO {$db_prefix}settings VALUES ('welcome_boardid', '0')", __FILE__, __LINE__);
db_query("REPLACE INTO {$db_prefix}settings VALUES ('welcome_memberid', '0')", __FILE__, __LINE__);
db_query("REPLACE INTO {$db_prefix}settings VALUES ('welcome_membername', '')", __FILE__, __LINE__);

What am i doing wrong here  :-\

2
Site Discussion / Manuall install description for SMF Gallery ?
« on: June 27, 2007, 01:36:18 pm »
I have one server where i cant use the package manager as the owner of all the files turn out to be Apache when i use it, and that way i cant add or change anything in them after the install, so i have to install every thing manually.

Up to the point where i have to install the DB it works fine with reading the XML file, but how on earth do i get the DB tables to install as it will not work with pointing to the gallery_install.php, it doesent execute from the browser.
Any pointers in the right way ?

Thank you in advanced
//G6

3
I have been using SMF gallery lite for some time now and are very happy with how easy it is to work with and also the easy interface and admin panel.

Last night i installed it to a new site that are in the works about my sons heart and his operations.
The site is going to be in swedish and as i have made translations for both SMF Tinyportal and Arcade i made it for SMF gallery light to.
I searched for other translation treads in here but it didnt return anything about it, so thats why i started this thread here. Im sorry if i posted compleatly wrong now, please move to the proper board.

But if you like to have the Swedish translation for SMF gallery light i will be happy to post the files for you.
Just say where and i send them up.

And again, thank you for a great mod to SMF, way better then all the struggle with Coppermine i had before

Pages: [1]

+- Recent Topics

“Insert from Gallery” by apothocary
November 21, 2023, 07:25:28 am

SMFHacks Black Friday Sale 2023! by SMFHacks
November 19, 2023, 12:05:51 pm

File Count by SMFHacks
November 11, 2023, 11:46:46 am

Theme Changer by SMFHacks
November 09, 2023, 04:30:05 pm

Pretty Urls extras by SMFHacks
November 08, 2023, 05:23:14 pm

Member group access to emojis by SMFHacks
October 22, 2023, 07:24:12 am

Miscellaneous errors - don't know why by SMFHacks
October 13, 2023, 09:28:50 am

Follow / Follower Mod? by Nicole
October 06, 2023, 07:37:20 am

Mods supporting custom themes? by SMFHacks
October 02, 2023, 04:20:18 pm

Version 6.1.6 issues by SMFHacks
September 30, 2023, 07:54:52 am

Powered by EzPortal