Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
aztig
New Member
New Member



Joined: May 01, 2006
Posts: 7

PostPosted: Tue May 09, 2006 11:15 am Reply with quote

Hi, and sorry for my bad english

i installed sommaire on my providers linux server.
the admin page is displayed, but the setting from the admin page cannot be saved.

i change the setting, i click to save the setting, and i come only to the nuke admin login page, i log in as admin, go to the sommaire admin page, change the setting, click for saving them and i come again to the nuke admin page, and so on, and so on,......

can anyone help me in this case plz?
many thanks
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Tue May 09, 2006 4:03 pm Reply with quote

It sounds like a table required to store the settings is missing. Was there an installation script or instructions for creating tables with the download?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
aztig







PostPosted: Tue May 09, 2006 4:49 pm Reply with quote

thanks for the quick reply...

yes there was, it comes in two ways. either install it using the installer that is included or by manually installing it through phpmyadmin. i've tried both, but i din't work.

by the way im using the latest distro of RavenNuke


this is sql query for the phpmyadmin install
Code:
# Sommaire Paramétrable v3.0 beta 1 DB tables

# Import this file in your DB, using PHPMyAdmin for example

CREATE TABLE `nuke_sommaire` (
  `groupmenu` int(2) NOT NULL default '0',
  `name` varchar(200) default NULL,
  `image` varchar(99) default NULL,
  `lien` text,
  `hr` char(2) default NULL,
  `center` char(2) default NULL,
  `bgcolor` tinytext,
  `invisible` int(1) default NULL,
  `class` tinytext,
  `bold` char(2) default NULL,
  `new` char(2) default NULL,
  `listbox` char(2) default NULL,
  `dynamic` char(2) default NULL,
  `date_debut` bigint(20) unsigned NOT NULL default '0',
  `date_fin` bigint(20) unsigned NOT NULL default '0',
  `days` varchar(8) default NULL,
  PRIMARY KEY  (`groupmenu`)
) ENGINE=MyISAM;


INSERT INTO `nuke_sommaire` (`groupmenu`, `name`, `image`, `lien`, `hr`, `center`, `bgcolor`, `invisible`, `class`, `bold`, `new`, `listbox`, `dynamic`, `date_debut`, `date_fin`, `days`) VALUES (0, 'Accueil', 'icon_home.gif', 'index.php', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, ''),
(1, 'Discussions', 'icon_community.gif', '', 'on', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, ''),
(2, 'News', 'favoritos.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, ''),
(3, 'Downloads & Liens', 'som_downloads.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, ''),
(4, 'Contenu', 'icon_poll.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, ''),
(5, 'Infos', 'icon_members.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, ''),
(99, '', NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, 'on', 0, 0, NULL);


CREATE TABLE `nuke_sommaire_categories` (
  `id` int(11) NOT NULL auto_increment,
  `groupmenu` int(2) NOT NULL default '0',
  `module` varchar(50) NOT NULL default '',
  `url` text NOT NULL,
  `url_text` text NOT NULL,
  `image` varchar(50) NOT NULL default '',
  `new` char(2) default NULL,
  `new_days` tinyint(4) NOT NULL default '-1',
  `class` varchar(20) default NULL,
  `bold` char(2) default NULL,
  `sublevel` tinyint(3) NOT NULL default '0',
  `date_debut` bigint(20) unsigned NOT NULL default '0',
  `date_fin` bigint(20) unsigned NOT NULL default '0',
  `days` varchar(8) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM ;


INSERT INTO `nuke_sommaire_categories` (`id`, `groupmenu`, `module`, `url`, `url_text`, `image`, `new`, `new_days`, `class`, `bold`, `sublevel`, `date_debut`, `date_fin`, `days`) VALUES (21, 1, 'Forums', '', '', 'tree-T.gif', '', 7, 'boxcontent', 'on', 0, 0, 0, ''),
(22, 1, 'Members_List', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(23, 2, 'News', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(24, 2, 'Topics', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(25, 2, 'Submit_News', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(26, 3, 'Downloads', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(27, 3, 'Web_Links', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(28, 4, 'Content', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(29, 4, 'Encyclopedia', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(30, 4, 'Reviews', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(31, 4, 'Top', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(32, 5, 'Feedback', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(33, 5, 'Recommend_Us', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(34, 5, 'Statistics', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(35, 5, 'Search', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(36, 5, 'Journal', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, ''),
(37, 5, 'Your_Account', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, '');


i've tried this in phpnuke 7.8 distro and it works fine. I just can't make it to work in my fav distro RavenNuke. I think the query doens't fit with the RavenNuke tables...
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue May 09, 2006 9:25 pm Reply with quote

I would remove these two tables and try again using the actual installer. I have this working in a RN2.02.02 environment with only a few, limited issues.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
kguske







PostPosted: Tue May 09, 2006 9:43 pm Reply with quote

Assuming you're using nuke as the prefix, what happens when you try to create the table via phpmyadmin?
 
aztig







PostPosted: Wed May 10, 2006 3:51 am Reply with quote

i got this

Code:
Your SQL query has been executed successfully    

SQL query:
# Sommaire Paramétrable v3.0 beta 1 DB tables
# Import this file in your DB, using PHPMyAdmin for example
CREATE TABLE `nuke_sommaire` (
`groupmenu` int( 2 ) NOT NULL default '0',
`name` varchar( 200 ) default NULL ,
`image` varchar( 99 ) default NULL ,
`lien` text,
`hr` char( 2 ) default NULL ,
`center` char( 2 ) default NULL ,
`bgcolor` tinytext,
`invisible` int( 1 ) default NULL ,
`class` tinytext,
`bold` char( 2 ) default NULL ,
`new` char( 2 ) default NULL ,
`listbox` char( 2 ) default NULL ,
`dynamic` char( 2 ) default NULL ,
`date_debut` bigint( 20 ) unsigned NOT NULL default '0',
`date_fin` bigint( 20 ) unsigned NOT NULL default '0',
`days` varchar( 8 ) default NULL ,
PRIMARY KEY ( `groupmenu` )
) ENGINE = MYISAM ;# MySQL returned an empty result set (i.e. zero rows).
INSERT INTO `nuke_sommaire` ( `groupmenu` , `name` , `image` , `lien` , `hr` , `center` , `bgcolor` , `invisible` , `class` , `bold` , `new` , `listbox` , `dynamic` , `date_debut` , `date_fin` , `days` )
VALUES ( 0, 'Accueil', 'icon_home.gif', 'index.php', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, '' ) , ( 1, 'Discussions', 'icon_community.gif', '', 'on', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, '' ) , ( 2, 'News', 'favoritos.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, '' ) , ( 3, 'Downloads & Liens', 'som_downloads.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, '' ) , ( 4, 'Contenu', 'icon_poll.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, '' ) , ( 5, 'Infos', 'icon_members.gif', '', '', '', '', 4, 'storytitle', '', '', '', 'on', 0, 0, '' ) , ( 99, '', NULL , NULL , NULL , NULL , NULL , 4, NULL , NULL , NULL , NULL , 'on', 0, 0, NULL ) ;# Affected rows:7
CREATE TABLE `nuke_sommaire_categories` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`groupmenu` int( 2 ) NOT NULL default '0',
`module` varchar( 50 ) NOT NULL default '',
`url` text NOT NULL ,
`url_text` text NOT NULL ,
`image` varchar( 50 ) NOT NULL default '',
`new` char( 2 ) default NULL ,
`new_days` tinyint( 4 ) NOT NULL default '-1',
`class` varchar( 20 ) default NULL ,
`bold` char( 2 ) default NULL ,
`sublevel` tinyint( 3 ) NOT NULL default '0',
`date_debut` bigint( 20 ) unsigned NOT NULL default '0',
`date_fin` bigint( 20 ) unsigned NOT NULL default '0',
`days` varchar( 8 ) default NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM ;# MySQL returned an empty result set (i.e. zero rows).
INSERT INTO `nuke_sommaire_categories` ( `id` , `groupmenu` , `module` , `url` , `url_text` , `image` , `new` , `new_days` , `class` , `bold` , `sublevel` , `date_debut` , `date_fin` , `days` )
VALUES ( 21, 1, 'Forums', '', '', 'tree-T.gif', '', 7, 'boxcontent', 'on', 0, 0, 0, '' ) , ( 22, 1, 'Members_List', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 23, 2, 'News', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 24, 2, 'Topics', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 25, 2, 'Submit_News', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 26, 3, 'Downloads', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 27, 3, 'Web_Links', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 28, 4, 'Content', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 29, 4, 'Encyclopedia', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 30, 4, 'Reviews', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 31, 4, 'Top', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 32, 5, 'Feedback', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 33, 5, 'Recommend_Us', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 34, 5, 'Statistics', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 35, 5, 'Search', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 36, 5, 'Journal', '', '', 'tree-T.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) , ( 37, 5, 'Your_Account', '', '', 'tree-L.gif', '', 7, 'boxcontent', '', 0, 0, 0, '' ) ;# Affected rows:17


Quote:
I would remove these two tables and try again using the actual installer. I have this working in a RN2.02.02 environment with only a few, limited issues.


i will try it...
 
aztig







PostPosted: Wed May 10, 2006 4:25 am Reply with quote

I used the actual installer and i came with these error code
Code:
Bienvenue dans le script d'installation de Sommaire Paramétrable v3.0 !

Welcome in Customize Menu v3.0 installation script !



Warning: copy(admin/language/lang-english.php.sommairebackup20060510): failed to open stream: Permission denied in /home2/wowie/public_html/rnuke/install-sommairev3.php on line 465
ERROR #2 : The installation script did not achieve to make a backup copy of the file admin/language/lang-english.php .
This is probably caused by unsufficient write permissions (CHMOD).

You can modify file permission in directories /language/*.* and /admin/language/*.* : CHMOD 666 or 777, and launch again this install script.
Another solution is to modify manually this file. See the zip archive of Sommaire Paramétrable : /manual-install/readme.txt


i know its the language file. but it is already CHMODed into 777, i've tried to manually modify the lang-files but still, I can't save the settings, I will just take me to the admin login page Shocked
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©