Seleccionar idioma:
Realizar Donación - Mods Premium - Portfolio



Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.
* News "new" and Pages "body" not writing to sql database.
  Leído 2041 veces
* Viendo el foro
 0 Usuarios y 1 Visitante están viendo este foro.


*
Jul 20 2011


Hello, I'm have a problem with saving HTML blocks, saving News items and saving Page bodies. I type my content and fill in the forms and when i save the data isn't saved in the database.

On a page creation the websites is acts as if it saved. Only you can access it. Attempts to edit a saved page return a webserver page not found error. IE8 Win7-64

An sgl dump of whats in the table.

--
-- Table structure for table `smf_adk_pages`
--

CREATE TABLE IF NOT EXISTS `smf_adk_pages` (
  `id_page` int(10) unsigned NOT NULL auto_increment,
  `urltext` varchar(255) NOT NULL,
  `titlepage` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `views` int(20) unsigned NOT NULL,
  `grupos_permitidos` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `winbg` varchar(255) NOT NULL,
  `cattitlebg` varchar(255) NOT NULL,
  `enableleft` int(1) unsigned NOT NULL,
  `enableright` int(1) unsigned NOT NULL,
  PRIMARY KEY  (`id_page`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `smf_adk_pages`
--

INSERT INTO `smf_adk_pages` (`id_page`, `urltext`, `titlepage`, `body`, `views`, `grupos_permitidos`, `type`, `winbg`, `cattitlebg`, `enableleft`, `enableright`) VALUES
(1, 'dmca', 'DMCA', '', 2, '-1,8,7,6,5,4,3,2,1', 'bbc', 'windowbg', 'catbg', 1, 1);

Notice the body field is completely empty. This i believe is cause of the errors.

Next the news portion. Does the same thing as the page portion does. SQL dump to follow.

-- --------------------------------------------------------

--
-- Table structure for table `smf_adk_news`
--

CREATE TABLE IF NOT EXISTS `smf_adk_news` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `titlepage` varchar(255) NOT NULL,
  `new` text NOT NULL,
  `autor` varchar(255) NOT NULL,
  `time` int(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `smf_adk_news`
--

INSERT INTO `smf_adk_news` (`id`, `titlepage`, `new`, `autor`, `time`) VALUES
(2, 'Grand Opening News', '', 'MassDad', 1311132829);

Again after saving the new field is empty.

On the block creation bbs/html portion. It errors out on save claiming tha the body is empty. Does not matter if you check HTML or not. However I was able to use a PHP block which works and saves just fine. I just wrote quick $str="html coding"; echo $str; and it worked fine.

BTW i just install both SMF 2.0 final and whatever you had up for download as of July 17th.

2.0

Mensajes: 4

Ver Perfil 

En línea

*
Jul 22 2011


the error log say something?

ADK Portal 3.0.2
2.0.11
www.smfpersonal.net
#1

Mensajes: 8631

Ver Perfil  SMFPersonal 

En línea

*
Jul 22 2011


just retested.. on all accounts the error log reports nothing.  No apache errors logged dropped either.

With news and page creation it acts as if everything went normal. All displayes but minus a body.
The BBC/HTML block creation give a form error to screen saying the body is empty..

Unido automaticamente - {Julio 22, 2011, 06:35:43 pm}


It as if whats typed into the text editor portion of the form isn't getting passed in some modules.. don't know, have not gotten deep into the source yet.

just seems to be the common denominator.

2.0
#2

Mensajes: 4

Ver Perfil 

« Última Modificación: Julio 22, 2011, 06:35:43 pm por knym01376 »
En línea

*
Jul 22 2011


try disable the WISIWYG editor.

ADK Portal 3.0.2
2.0.11
www.smfpersonal.net
#3

Mensajes: 8631

Ver Perfil  SMFPersonal 

En línea

*
Jul 22 2011


This fixed the post problem.. now i have a new problem..

When i try to edit or delete the News or Page it errors with


This error (HTTP 501 Not Implemented or HTTP 505 Version Not Supported) means that the website you are visiting doesn't currently have the ability to display the webpage, or support the HTTP version used to request the page.

For more information about HTTP errors, see Help.
 
Web page calling by URL:  http://massdad.com/index.php?action=admin;area=modules;sa=deletepages;id=2;cba5b4c5c1c=764065cf0507154a9db0f1a4fc00c571

Unido automaticamente - {Julio 22, 2011, 08:09:20 pm}


Edit URL:  http://massdad.com/index.php?action=admin;area=modules;sa=editpages;id=2;cba5b4c5c1c=764065cf0507154a9db0f1a4fc00c571

2.0
#4

Mensajes: 4

Ver Perfil 

En línea

*
Jul 22 2011


that problem.... is with your host....

your host does not allowed to send information via ;

you need contact with them.

ADK Portal 3.0.2
2.0.11
www.smfpersonal.net
#5

Mensajes: 8631

Ver Perfil  SMFPersonal 

En línea

*
Jul 22 2011


Thank you sir.. i'll just edit the database field then.. :)

2.0
#6

Mensajes: 4

Ver Perfil 

En línea




Otros temas de su interes

Use of Carousel block? Skyflash Marzo 05, 2012, 02:26:46 pm
Guest Permission For A Specific Block lanie Agosto 22, 2011, 12:35:20 pm *
About Adk Portal V2.0 Rc2 (Working) Snailx Marzo 13, 2010, 10:34:56 pm
Minor BUG with ShoutBox system! Huge Issue michalss Marzo 16, 2011, 01:10:19 pm *
need adk blog support Eudemon Noviembre 22, 2010, 08:55:41 pm
Index Error After Install Cryotech Agosto 12, 2011, 08:45:07 am *



Usuario:
Contraseña:
Sesión:
hermes bracelet replica, christian louboutin replica, van cleef and arpels replica, red bottoms replica, cartier love bracelet replica christian louboutin replica, christian louboutin replica, hermes bracelet replica,