This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Submitted news never reach the news queue


avatar
cosmin 269
From: -
Like the title says. Don't know if it's a settings problem (I think it's more likely a bug), but I submitted a news article using  http://www.file-portal.net/news/submitstoryadd/index.html and even though it apparently went through successfully (no error messages) the cadmin/index.php?action=submissionqueue says that the news qyeye
is empty. The item I submitted isn't there. I already told you about this in a private message yesterday, but you don't seem to have replied. I stumbled across this after trying to troubleshoot the problem in this thread
 http://www.contentteller.com/forums/threads/you-entered-the-wrong-security-code.1239/
Also the "Submit news" page doesn't seem to use the MCE rich text editor even though it is enabled in preferences.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Submitted news never reach the news queue
avatar
OP 269
From: -
Have you changed anything? The article I submitted just appeared. It's really strange. Maybe it didn't refresh the news queue right away.
1 Re: Submitted news never reach the news queue
avatar
OP 269
From: -
Sorry, I meant to say that even though the new file has been uploaded on the server, the problem is still the same. I tried to submit a piece of news and it said it was submitted sucessfully, but on the page after the redirect, it says that the news database is still empty.
2012_01_30_113001
1 Re: Submitted news never reach the news queue
avatar
OP 269
From: -
Still doesn't work, even with that mod. I checked that the file on the server has been changed and it's still the same.
1 Re: Submitted news never reach the news queue
avatar
OP 269
From: -

Not sure when/how this was introduced after this was working couple of releases ago. My IDE (Zend Studio) was not even complaining about this typo Confused Face

2.1.9 at least. I kept some of the older versions and ran a comparison today, starting with the oldest I had.
1 Re: Submitted news never reach the news queue
avatar
Administrator
1340
From: Vienna, Austria
Found the problem. There is a typo/bug in the email notification part.

To fix it, open /modules/newsdosubmitstory.php and replace:
$insert[ 'newsqueue_author' ] = stripslahses( $input_author );

with:
$insert[ 'newsqueue_author' ] = stripslashes( $input_author );

Not sure when/how this was introduced after this was working couple of releases ago. My IDE (Zend Studio) was not even complaining about this typo  http://www.contentteller.com/forums/styles/default/xenforo/smilies/confused.png
1 Re: Submitted news never reach the news queue
avatar
OP 269
From: -
Anon and user (have a dummy account for that). Just tried it now with the user account and automatic submission failed. Manual submission also silently fails.
1 Re: Submitted news never reach the news queue
avatar
OP 269
From: -
PHP version
5.2.9
Used API
cgi-fcgi
Integration
Contentteller
Memory Limit
128M
Upload Limit
2M / 8M
Suhosin Extension
No
Database Server
MySQL 5.0.92-community



Apache version 2.2.11
PHP version 5.2.9
MySQL version 5.0.92-community
Architecture x86_64
Operating system linux
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl version 5.8.8
Kernel version 2.6.9-89.35.1.plus.c4smp
cPanel Pro 1.0 (RC1)
1 Re: Submitted news never reach the news queue
avatar
Administrator
1340
From: Vienna, Austria
Interesting, another customer reported the same problem this week but I was not able to reproduce it on my local installation. Which PHP/MySQL versions are you using? Are you submitting the story as user or anonymous.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.