Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 43

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 11.08.2005, 07:18   #1 (permalink)
skb
Junior Mamber
 
Join Date: Feb 2005
Posts: 25
skb is on a distinguished road
Default Admin unable to add news items from frontend

I've just created a new mambo site using 4.5.2 (fantastico install through SiteGround).

I am unable to add news items from the front end "Submit News", even as Admin. I get the message " You are not authorized to view this resource. You need to login" and it logs me out.

Edit: I'm unable to edit existing items from the front end either...

I have create several users with different access levels but all get same msg.

Through the backend, it's fine.

I've amended the config to CHMOD files & directories to 755 (should the files be 777?). Not sure if this is the right thing to do, but I'm getting desperate

Suggestions?

Sue
skb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 11.08.2005, 09:13   #2 (permalink)
Mamber
 
denisp's Avatar
 
Join Date: Oct 2004
Location: ITALY - NW - Savona
Posts: 103
denisp is an unknown quantity at this point
Default Re: Admin unable to add news items from frontend

try to take a look in the DB. the table is this one: #_users.
here you'll the fileds about the administrator. Make sure the value "block" is on zero...
__________________
-----------------------------------------------------------------------
It is easier to forgive an enemy than to forgive a friend.
William Blake
denisp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.08.2005, 10:03   #3 (permalink)
skb
Junior Mamber
 
Join Date: Feb 2005
Posts: 25
skb is on a distinguished road
Default Re: Admin unable to add news items from frontend

Thanks denisp,

went into the (very scary) phpMyAdmin and had a look. The value for "block" is set to 0.

Checked all three users (with different levels) and all are value 0 too.
skb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.08.2005, 13:01   #4 (permalink)
Mamber
 
denisp's Avatar
 
Join Date: Oct 2004
Location: ITALY - NW - Savona
Posts: 103
denisp is an unknown quantity at this point
Default Re: Admin unable to add news items from frontend

well, i paste my table users. it works fine. it has only the admin value and the anonymous one.
you should export your table and compare it with mine...

Code:
CREATE TABLE `urb_users` (
  `id` mediumint(8) NOT NULL default '0',
  `user_active` tinyint(1) default '1',
  `username` varchar(25) NOT NULL default '',
  `password` varchar(32) NOT NULL default '',
  `name` varchar(50) NOT NULL default '',
  `usertype` varchar(25) NOT NULL default '',
  `block` tinyint(4) NOT NULL default '0',
  `sendEmail` tinyint(4) default '1',
  `gid` tinyint(3) unsigned NOT NULL default '1',
  `registerDate` datetime NOT NULL default '0000-00-00 00:00:00',
  `lastvisitDate` datetime NOT NULL default '0000-00-00 00:00:00',
  `user_session_time` int(11) NOT NULL default '0',
  `user_session_page` smallint(5) NOT NULL default '0',
  `user_lastvisit` int(11) NOT NULL default '0',
  `user_regdate` int(11) NOT NULL default '0',
  `user_level` tinyint(4) default '0',
  `user_posts` mediumint(8) unsigned NOT NULL default '0',
  `user_timezone` decimal(5,2) NOT NULL default '0.00',
  `user_style` tinyint(4) default NULL,
  `user_lang` varchar(255) default NULL,
  `user_dateformat` varchar(14) NOT NULL default 'd M Y H:i',
  `user_new_privmsg` smallint(5) unsigned NOT NULL default '0',
  `user_unread_privmsg` smallint(5) unsigned NOT NULL default '0',
  `user_last_privmsg` int(11) NOT NULL default '0',
  `user_emailtime` int(11) default NULL,
  `user_viewemail` tinyint(1) default NULL,
  `user_attachsig` tinyint(1) default NULL,
  `user_allowhtml` tinyint(1) default '1',
  `user_allowbbcode` tinyint(1) default '1',
  `user_allowsmile` tinyint(1) default '1',
  `user_allowavatar` tinyint(1) NOT NULL default '1',
  `user_allow_pm` tinyint(1) NOT NULL default '1',
  `user_allow_viewonline` tinyint(1) NOT NULL default '1',
  `user_notify` tinyint(1) NOT NULL default '1',
  `user_notify_pm` tinyint(1) NOT NULL default '0',
  `user_popup_pm` tinyint(1) NOT NULL default '0',
  `user_rank` int(11) default '0',
  `user_avatar` varchar(100) default NULL,
  `user_avatar_type` tinyint(4) NOT NULL default '0',
  `email` varchar(255) default NULL,
  `user_icq` varchar(15) default NULL,
  `user_website` varchar(100) default NULL,
  `user_from` varchar(100) default NULL,
  `user_from_flag` varchar(25) default NULL,
  `user_sig` text,
  `user_sig_bbcode_uid` varchar(10) default NULL,
  `user_aim` varchar(255) default NULL,
  `user_yim` varchar(255) default NULL,
  `user_msnm` varchar(255) default NULL,
  `user_occ` varchar(100) default NULL,
  `user_interests` varchar(255) default NULL,
  `user_actkey` varchar(32) default NULL,
  `user_newpasswd` varchar(32) default NULL,
  PRIMARY KEY  (`id`),
  KEY `user_session_time` (`user_session_time`),
  KEY `usertype` (`usertype`)
) TYPE=MyISAM;

#
# Dump dei dati per la tabella `urb_users`
#

INSERT INTO `urb_users` VALUES (-1, 0, 'Anonymous', '', '', '', 0, 1, 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, 0, 0, 0, 0, 0, '0.00', NULL, '', '', 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, NULL, '', 0, '', '', '', '', NULL, '', NULL, '', '', '', '', '', '', '');
INSERT INTO `urb_users` VALUES (62, 1, 'admin', '**password cripted**', 'Administrator', 'Superadministrator', 0, 1, 25, '2005-08-03 12:39:38', '2005-08-10 11:15:37', 1123159094, -10, 1123158715, 1123065578, 0, 0, '0.00', 1, 'english', 'd M Y H:i', 0, 0, 1123158715, NULL, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, NULL, 0, '**admin email**', '', '', '', 'blank.gif', '', '', '', '', '', '', '', '', NULL);
__________________
-----------------------------------------------------------------------
It is easier to forgive an enemy than to forgive a friend.
William Blake
denisp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12.08.2005, 03:14   #5 (permalink)
skb
Junior Mamber
 
Join Date: Feb 2005
Posts: 25
skb is on a distinguished road
Default Re: Admin unable to add news items from frontend

Ran site in debug mode and discovered MambelFish was giving lots of errors.

Uninstalled MF and all runs fine now. Of course, now I have a new problem.....
skb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add borders to the news items Amnesia Mambo 4.5.1 'How Do I' Questions 1 30.05.2005 21:59
Order backend news items by publishing date (descending) Nethawk Mambo 4.5.1 'How Do I' Questions 3 06.03.2005 20:34
add content items on frontend denieded?! lilla Mambo 4.5 General Talk 1 12.11.2004 10:03
Different styles of News items in startpage asci Mambo 4.5.1 'How Do I' Questions 1 04.10.2004 21:24
Frontend edit and add news problems kickfjader Mambo 4.5.1 'How Do I' Questions 0 28.09.2004 22:56


All times are GMT +2. The time now is 14:56.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.