Mod Adk Portal (2.1.1)

Adk portal is a portal integrated to SMF, with multiple extensions and features.
The portal is aimed at simple and intuitive to the Administrator.
It has all the characteristics of portal, in addition to having a great set of downloads, system of internal pages, etc.

Mod Adk Seo (3.0)

Adk Seo is an internal system of SMF to improve your ranking.
It has powerful features to appear on the top of major search engines.
With this product, you can change your urls, choose your format, encouraging social activity on your site, place their own sitemaps, etc.
Mod Adk Blog (3.0)

Adk blog is an internal system of SMF to help encourage business users.
This product will create a space where your users can use as your own blog, creating categories, entries, and managing your comments.


Problema en base de datos.


Board:

Soporte

Topic:

Problema en base de datos.


Description:

Foro de soporte smf

Author Topic: Problema en base de datos.  (Read 249 times)

0 Members and 1 Guest are viewing this topic.

Problema en base de datos.

Lokitox

  • Newbie
  • *
  • Posts: 8
  • The Hacktivism is not a crime.
    • View Profile
    • Mixeo
Problema en base de datos.
« on: October 04, 2011, 09:58:56 PM »
Resulta que tengo el SMF Shop y faltaba una parte del código en cual en los foros que yo asignaria se daría dinero, el código en SMF 1.1.x es el siguiente:

Code: [Select]
$result_shop = db_query("
SELECT countMoney, shop_pertopic, shop_perpost, shop_bonuses
FROM {$db_prefix}boards
WHERE ID_BOARD = $board
LIMIT 1", __FILE__, __LINE__);
$boardInfo = mysql_fetch_assoc($result_shop);

Ahora yo lo adapte para SMF 2.0.1 y lo deje así:

Code: [Select]
$result_shop = $smcFunc['db_query']('',"
SELECT countMoney, shop_pertopic, shop_perpost, shop_bonuses
FROM {db_prefix}boards
WHERE ID_BOARD = {int:current_board}
LIMIT 1");
$boardInfo = $smcFunc['db_fetch_assoc']($result_shop);

Ahora, cuando me voy a crear un mensaje o tema nuevo me dice:
Quote
¡Un error ha ocurrido!
The database value you're trying to insert does not exist: current_board

¿Alguien me puede ayudar?, gracias :)
  • Ninguno
  • 2.0.1
  • www.mixeo.net


Solucionado
(Life would be easy with a simple solution.)

Sorry visitor. To access the SMF Personal answers, you need to Register or Login.

Atte. SMF Personal
 



Related topics / Otros temas de su interes

  Topic Author Date  
Error al entrar a un Tema: database trying to insert not exist: id_msg MarCogollo June 20, 2010, 01:56:54 AM
Ayuda urgente rafanomaz May 14, 2010, 05:20:44 PM
problema con shoutbox Ryo-Odin December 04, 2010, 10:49:18 PM
Respuestas del Foro. Princesa1 January 29, 2012, 08:34:49 PM
No para de bajar ManuTdi February 09, 2011, 07:45:44 PM
ayuda mod special tag light21 October 18, 2010, 12:17:34 PM


 
Application Parser To Mod

It is a system developed by SMF Personal, similar to parse smf, but with the difference that it not only show us the steps to install mods but also show us the steps to uninstall and update mods.
The mods that can be analyzed are obviously those who are raised in SMF Personal.
Section Mods

In this section you will find all mods done by the staff and users of SMF Personal.
The mods are displayed in a simple and easy to read.
Section Tutorials

In this section you will find all the tutorials made by our staff and users of SMF Personal.
The tutorials are displayed in a simple and easy to read.

SMF 2.0.2 | SMF © 2011, Simple Machines | Adk Portal 2.1.1 © SMF personal  & Adk Seo 3.0
This site is not affiliated with or endorsed by Simple Machines