Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
JoAnne
Worker
Worker



Joined: Oct 18, 2005
Posts: 127
Location: NYC

PostPosted: Mon Mar 02, 2009 6:34 pm Reply with quote

When I run the install script I get this message:

Unable to locate the RavenNuke™ configuration file - INCLUDE_PATHrnconfig.php

It could be missing or not readable. Please verify that the file exists and is readable in the root folder.


The file rnconfig.php is there, so I do not know why it can't locate it?

Thanks

JoAnne
 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Mon Mar 02, 2009 6:51 pm Reply with quote

I believe there is a sql file included that you can upload through phpmyadmin.
Something like sommairev3.0b1.sql

If you do that through phpmyadmin you shouldn't need to do the install.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
JoAnne







PostPosted: Mon Mar 02, 2009 6:56 pm Reply with quote

nuken wrote:
I believe there is a sql file included that you can upload through phpmyadmin.
Something like sommairev3.0b1.sql

If you do that through phpmyadmin you shouldn't need to do the install.


Thanks nuken!

I will try it right now
 
nuken







PostPosted: Mon Mar 02, 2009 7:06 pm Reply with quote

I will download it and try real quick.
 
nuken







PostPosted: Mon Mar 02, 2009 7:41 pm Reply with quote

Here's what I did and got it to work.

I installed the files
ran the sql file in phpMyAdmin


Then I made a backup of my config.php file.
Edited the one in my root by removing the following lines at the bottom.
Code:
if (defined('INCLUDE_PATH') && file_exists(INCLUDE_PATH . 'rnconfig.php')) require_once INCLUDE_PATH . 'rnconfig.php';


else {

   echo 'Unable to locate the RavenNuke&trade; configuration file - ' . INCLUDE_PATH . 'rnconfig.php' . "\n<br /><br />";

   echo 'It could be missing or not readable.  Please verify that the file exists and is readable in the root folder.';

   die();

}



I then ran the install-sommairev3.php file.

After it installed, I uploaded my backup config.php file over writing the edited one and it worked.
 
JoAnne







PostPosted: Mon Mar 02, 2009 7:49 pm Reply with quote

nuken wrote:
Here's what I did and got it to work.

I installed the files
ran the sql file in phpMyAdmin


Then I made a backup of my config.php file.
Edited the one in my root by removing the following lines at the bottom.
Code:
if (defined('INCLUDE_PATH') && file_exists(INCLUDE_PATH . 'rnconfig.php')) require_once INCLUDE_PATH . 'rnconfig.php';


else {

   echo 'Unable to locate the RavenNuke&trade; configuration file - ' . INCLUDE_PATH . 'rnconfig.php' . "\n<br /><br />";

   echo 'It could be missing or not readable.  Please verify that the file exists and is readable in the root folder.';

   die();

}



I then ran the install-sommairev3.php file.

After it installed, I uploaded my backup config.php file over writing the edited one and it worked.


It seems to be working fine. I just need to make some cosmetic adjustments. Do you think I should run the install anyway?

Thank you so much for your help!

JoAnne
 
nuken







PostPosted: Mon Mar 02, 2009 7:59 pm Reply with quote

The install file loads the language file changes.
 
horrorcode
Involved
Involved



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Mon Mar 02, 2009 8:02 pm Reply with quote

I installed mine with the install, I just can't remember what I changed in it to get it to work. Im trying to compare the two now.
 
View user's profile Send private message
nuken







PostPosted: Mon Mar 02, 2009 8:05 pm Reply with quote

You could just add this before the ?> at the bottom of you language/lang-english.php and you would not need to run the install.

Code:
/* Added by Sommaire Paramétrable (Customize Menu) v2.1 installation script */

define ("_SOMNEWPM","New Private Messages !!");
define("_SOMSELECTALINK","Select...");
define("_SOMNEWCONTENT","New content !");
define("_SOMRESTRICTED","Access restricted to our members");
define("_SOMMAIREADMINVIEWALLMODULES","<strong>Modules visible</strong><br>but unselected (in <a href=\"admin.php?op=sommaire\">SP admin panel</a>)");
/* End of Sommaire Paramétrable v2.1 modifications */
/* Sommaire Parametrable v3.0*/
define("_SOMRESTRICTEDMEMBERS","Access restricted to our members");
define("_SOMRESTRICTEDGROUP","Access restricted to group members");
define("_SOMRESTRICTEDPAID","Access restricted to subscribers");
/* End of Sommaire Parametrable v3.0 modifications */
 
nuken







PostPosted: Mon Mar 02, 2009 8:10 pm Reply with quote

and in admin/language/lang-english.php before the ?> add

Code:
/* Added by Sommaire Paramétrable (Customize Menu) v2.0 installation script */

define("_SOMMAIRE","Menu");
define("_SOMADMINTITLE","Administration Menu");
define("_SOMMSGNOTNUM","The value of this field must be numeric, please modify.");
define("_SOMMSGVOID","You must enter a value for this field !");
define("_SOMATTNSUPPRCAT","Attention&nbsp;!!&nbsp;&nbsp; You cannot cancel if you delete a category ! (The 'Cancel' button does not re-create the deleted category)");
define("_SOMWEIGHT","Weight");
define("_SOMCATEGORIES","Categories");
define("_SOMCATNAME","Category's name");
define("_SOMIMGNAME","Image file's name");
define("_SOMCATLINK","Link on this category");
define("_SOMCATMODS","Modules in this category");
define("_SOMNOIMG","[No image]");
define("_SOMHR","Horizontal rule");
define("_SOMCENTER","Center title");
define("_SOMBGCOLOR","Background color");
define("_SOMEXTLINK","External link");
define("_SOMMISEENPAGE","Display");
define("_TARGETBLANK","Open in a new window");
define("_SOMACTION","Action");
define("_SOMSUPPR","[Delete]");
define("_SOMADDCAT","Add a new category");
define("_SOMNEWCATEGORY","Add a new category :");
define("_SOMCANCEL","CANCEL");
define("_SOMPOST","SAVE YOUR MODIFICATIONS");
define("_SOMREMARKS","<strong>Remarks :</strong><br><br>"
   ."- The WEIGHT is used to order categories (categories with a lower WEIGHT are displayed first). [number between 0 and 98]<br><br>"
   ."- You can create a category without a name : in this case, the image will not be displayed.<br>"
   ."&nbsp;&nbsp;(useful if you are using only horizontal rules to separate categories)<br><br>"
   ."- The IMAGE FILE'S NAME (for the category) is an image file inside /images/sommaire/. You can also put a FLASH file (.swf)."
   ."<br>&nbsp;&nbsp;The IMAGE (for category's content) is an image file inside /images/sommaire/categories/."
   ."<br>&nbsp;&nbsp;When you add an image file in these folders, it is automatically added in its list box.<br>"
   ."&nbsp;&nbsp;If you don't want to display an image before a category's name, put 'null.gif' (transparent 20x20 px image) in the field.<br><br>"
   ."- THE LINK ON THE CATEGORY could be any internet url or an url relative to your site.<br>"
   ."&nbsp;&nbsp;If you put an external link (beginnning with 'http://' or 'ftp://'), the link will be opened in a new window.<br>"
   ."&nbsp;&nbsp;If you put a relative url ('account-new_user.html'), the link will open in the current window.<br>"
   ."&nbsp;&nbsp;To open an internal link in a new window, put the exact, full  url of your site.<br>"
   ."&nbsp;&nbsp;To open an external link in the current window, type 'HTTP://' (in uppercase).<br><br>"
   ."- The BACKGROUND COLOR must be a color code or a standard color name.<br>"
   ."&nbsp;&nbsp;ex: 'red' : <font color=\"red\">RED</font>  --  '#ff0000' : <font color=\"#ff0000\">RED</font><br><br>"
   ."- The CLASS used to display categories' names msut be an existing class in all your themes.<br>"
   ."&nbsp;&nbsp;The classes are in the file /themes/YOURTHEME/style/style.css.<br>"
   ."&nbsp;&nbsp;You can add your own class, for example you can add this line in the style sheets of your themes :<br>"
   ."&nbsp;&nbsp;<i>.sommaire      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 12px; COLOR: #363636; FONT-WEIGHT: bold}   </i><br>");
define("_SOMCATCONTENT","Category's content");
define("_SOMLINKURL","link's URL");
define("_SOMLINKTEXT","link's text");
define("_SOMIMAGE","Image");
define("_SOMINVALIDWEIGHT","The WEIGHT value is invalid for the category");
define("_SOMMUSTBENUM"," This value MUST be a number between 0 and 98 !!");
define("_SOMCATS","The categories");
define("_SOMAND","and");
define("_SOMSAMEWEIGHT","have the same WEIGHT !!");
define("_SOMMODIFWEIGHT","Return back to the previous page and modify the WEIGHT value of one of these categories.");
define("_SOMBACKADMIN","Back to Menu administration");
define("_SOMSUCCESS","Your block has been successfully updated !");
define("_SOMGOADMIN","Configure your Menu");
define("_SOMUPGRADESUCCESS","Your Menu was successfully upgraded !!");
define("_SOMV1DETECTED","Sommaire parametrable v.1.0 detected !");
define("_SOMCLICKTOUPGRADE","To upgrade your menu, click");
define("_SOMHERE","HERE");
define("_SOMWARNINGDELETECAT","Are you sure you want to delete the category");
define("_SOMGENERALOPTIONS","General Options");
define("_SOMDISPLAYMEMBERSONLYMODULES","Display of 'members only' modules");
define("_SOMCATEGORIESCLASS","Class for categories' names");
define("_SOMDISPLAYMODULENORMAL","Normal (always displayed)");
define("_SOMDISPLAYMODULEWITHICON","Displayed with icon");
define("_SOMDISPLAYMODULEWITHICONFORVISTORS","for visitors");
define("_SOMDISPLAYMODULEINVISIBLE","Invisible for visitors");
define ("_SOMYES","Yes");
define ("_SOMNO","No");
/* Added by Sommaire Paramétrable (Customize Menu) v2.1 installation script */
define("_SOMMAIREREMARKSTWO","<br>- You can create a popup, to do so, enter in the field 'url' of external link :<br>"
      ."&nbsp;&nbsp;<i>javascript:window.open('http://www.url.com','popup_sommaire','directories=no,menubar=no,status=no,location=no,scrollbars=no,resizable=no')</i><br>"
      ."<br>&nbsp;&nbsp;You can modify display options (display scrollbars, etc...)<br>"
      ."&nbsp;&nbsp;See <a href=\"http://www.toutjavascript.com/savoir/savoir15.php3\">Tout Javascript - les popups</a> for more details.<br><br>");
define("_SOMMAIREHR","Horiz. rule");
define("_SOMBOLD","Bold");
define("_SOMLISTBOX","Drop down box");
define("_SOMSENDTOHAVEMORE","Save your modifications to add new links.");
define("_SOMDISPLAYCLASSES","Display :");
define("_SOMMODULESCLASS","CSS class used for modules/external links");
define("_SOMAUTODETECTNEW","Automatic detection of news");
define("_SOMSINCE","New for");
define("_SOMNBDAYS","days");
define("_SOMDYNAMICMENU","Dynamic menu");
define("_SOMJSSAVEBEFORE","Do you want to save your modifications before deleting this category ?");
define("_SOMEDITLINKTITLE","Edit a link...");
define("_SOMMOREOPTIONS","More options");
define("_SOMCLASS","CSS class");
define("_SOMATTENTIONMOREOPTIONS","<strong>Attention !</strong><br>If you modify in sommaire's admin panel the general CSS class for categories, or for modules/links, or the time 'New!' icon is displayed, the specific values of a category or a module/link will be overwritten.");
define("_SOMMOREOPTIONSUCCESS","Your modifications are applied !");
define("_SOMSENDTOVALIDATE","(You should validate all modifications in the main sommaire panel for your modifications to be finally confirmed)");
define("_SOMCLOSE","Close the window");
define("_SOMTARGETBLANK","Link opened in a new window. To open in the same window, begin url with HTTP:// (uppercase)");
define("_SOMTARGETNONE","Link opened in the same window. To open in a new window, begin url with http:// (lowercase)");
define("_SOMNOTABLEPB","Sommaire Parametrable is unable to access its database tables.Please verify that you have installed correctly, and READ THE FAQ !");
/* End of Sommaire Paramétrable v2.1 modifications */
/* Sommaire Parametrable v3.0 */
define("_SOMIMGNEWTITLE","Click to Show/Hide the NEW icon");
define("_SOMADMINIMGDROPDOWN","Click to choose an image for this category");
define("_SOMADMINIMGDROPDOWNCAT","Click to choose an image for this link");
define("_SOMJSFIXFORIE1","The drop-down lists below disappear on Internet Explorer. This is NORMAL : it's a workaround to avoid an IE bug. For the sake of the web and a better internet experience, please use another browser (Opera, Firefox,...)");
define("_SOMHIDE","Hide");
define("_SOMMOVEUP","Click to move the link upwards");
define("_SOMMOVEDOWN","Click to move the link downwards");
define("_SOMREMOVESUBLEVEL","Click to remove this sublevel");
define("_SOMADDSUBLEVEL","Click to add a sublevel");
define("_SOMSCHEDULETITLE","Schedule the display");
define("_SOMSCHEDULE","Click to hide or schedule the display");
define("_SOMTEXTONLY","Text without url");
define("_SOMMONDAY","Monday");
define("_SOMTUESDAY","Tuesday");
define("_SOMWEDNESDAY","Wednesday");
define("_SOMTHURSDAY","Thursday");
define("_SOMFRIDAY","Friday");
define("_SOMSATURDAY","Saturday");
define("_SOMSUNDAY","Sunday");
define("_SOMDISPLAYFROM","Display from");
define("_SOMDISPLAYTO","to");
define("_SOMSCHEDULEIT","Schedule");
define("_SOMDISPLAYONLYTHESEDAYS","Only on");
define("_SOMSHOWADMIN","Extended Administrator view");
define("_SOMNOTDYNAMICCAT","Always open");
define("_SOMCENTER25","Center");
/* End of Sommaire Parametrable v3.0 modifications */
 
JoAnne







PostPosted: Mon Mar 02, 2009 8:13 pm Reply with quote

nuken wrote:
You could just add this before the ?> at the bottom of you language/lang-english.php and you would not need to run the install.

Code:
/* Added by Sommaire Paramétrable (Customize Menu) v2.1 installation script */

define ("_SOMNEWPM","New Private Messages !!");
define("_SOMSELECTALINK","Select...");
define("_SOMNEWCONTENT","New content !");
define("_SOMRESTRICTED","Access restricted to our members");
define("_SOMMAIREADMINVIEWALLMODULES","<strong>Modules visible</strong><br>but unselected (in <a href=\"admin.php?op=sommaire\">SP admin panel</a>)");
/* End of Sommaire Paramétrable v2.1 modifications */
/* Sommaire Parametrable v3.0*/
define("_SOMRESTRICTEDMEMBERS","Access restricted to our members");
define("_SOMRESTRICTEDGROUP","Access restricted to group members");
define("_SOMRESTRICTEDPAID","Access restricted to subscribers");
/* End of Sommaire Parametrable v3.0 modifications */



Thank you nuken!
 
nuken







PostPosted: Tue Mar 03, 2009 4:10 pm Reply with quote

The correct fix would be to go into install-sommairev3.php and find
Code:
/* Installation script for Sommaire Paramétrable v3.0 by [ Only registered users can see links on this board! Get registered or login! ] */


require("config.php");


change to
Code:
/* Installation script for Sommaire Paramétrable v3.0 by [ Only registered users can see links on this board! Get registered or login! ] */


define('INCLUDE_PATH', '');

require("config.php");


then run the install script and install. This will add the language edits for you. I was just thinking about defining the include_path and I realized I had over complicated the process. Old age and late nights tend to mess with memory. Laughing
 
JoAnne







PostPosted: Tue Mar 03, 2009 5:22 pm Reply with quote

nuken wrote:
Old age and late nights tend to mess with memory. Laughing


You should throw in some Blonde hair and see what happens Laughing

Thank You nuken!

I will do that fix for my other site Smile

All the Best

JoAnne
 
JoAnne







PostPosted: Tue Mar 03, 2009 7:06 pm Reply with quote

I had Sommaire 2.1 on a site and I added

}
.sommaire
{
sommairenowrap: nowrap


to the theme css and it worked, but it is not working now with 3.0 Sad
 
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Tue Mar 03, 2009 8:30 pm Reply with quote

I think i've got 3.1 on my site working. Might need to check the version , but it's definetly working like a charm.
 
View user's profile Send private message Visit poster's website MSN Messenger
JoAnne







PostPosted: Tue Mar 03, 2009 8:47 pm Reply with quote

eldorado wrote:
I think i've got 3.1 on my site working. Might need to check the version , but it's definetly working like a charm.


It's not wrapping? Do you know where you got the download from?

Thanks

JoAnne
 
montego
Site Admin



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

PostPosted: Wed Mar 04, 2009 6:44 am Reply with quote

Pretty sure the version off my site works as I use it.

I am just glad there are some developers working on creating replacements for this thing. I love the tool, have used it for over 5 years, but its just way too old and clunky now and no support. I think we'll see a few good competing replacements this year.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
JoAnne







PostPosted: Wed Mar 04, 2009 8:46 am Reply with quote

montego wrote:
Pretty sure the version off my site works as I use it.

I am just glad there are some developers working on creating replacements for this thing. I love the tool, have used it for over 5 years, but its just way too old and clunky now and no support. I think we'll see a few good competing replacements this year.


Thanks montego!

I hope you are right about competing replacements! Smile
 
JoAnne







PostPosted: Wed Mar 04, 2009 1:59 pm Reply with quote

montego

I see on your website that your Sommaire wraps the titles and categories as well. Sad

I have to work on this as I was able to get an earlier version not to wrap through the theme css, but haven't been able to do so with 3.0, but I am sure there is a way.


JoAnne
 
eldorado







PostPosted: Wed Mar 04, 2009 4:54 pm Reply with quote

JoAnne wrote:

It's not wrapping? Do you know where you got the download from?

Thanks

JoAnne

The block came with Nuke Platinum 7.6b4v2 from which I converted to RN. And I don't why you don't like wrapping.
 
JoAnne







PostPosted: Wed Mar 04, 2009 5:23 pm Reply with quote

eldorado wrote:


The block came with Nuke Platinum 7.6b4v2 from which I converted to RN. And I don't why you don't like wrapping.


Wrapping looks sloppy and makes it hard to read each line.

ex:

No wrapping:

Home
-Your Account
-Recommend Us
-Contact WUFMH

Community
-Forums
-Private Messages
-Recommended Reading

News
-Topics
-Submit News
-Authors & Articles
-News Feeds
-Stories Archive
________________________________________

wrapping:

Home
-Your Account
-Recommend Us
-Contact
WUFMH

Community
-Forums
-Private
Messages
-Recommended
Reading

News
-Topics
-Submit News
-Authors &
Articles
-News Feeds
-Stories
Archive
 
montego







PostPosted: Thu Mar 05, 2009 6:52 am Reply with quote

It is because Sommaire isn't using what it really should be, the <ul></ul> tags. If it was, that could all be controlled via CSS, even the image being used. Like I said, this thing is way old and way out-of-date with the times. But, its still the best thing out there that I know of to do what I need it to do. I will switch in a heartbeat once someone has created a replacement written in jQuery and related plug-ins with the same functionality. Wink
 
eldorado







PostPosted: Thu Mar 05, 2009 1:16 pm Reply with quote

If it doesn't use <ul></ul> tags why not change the tags in the scripts?
 
montego







PostPosted: Thu Mar 05, 2009 8:21 pm Reply with quote

If you can figure out where and how and still maintain all the flexibility that the block has built in, all power to you. I, for one, don't have time to figure out all the variable names and comments that are written in French. I'd rather re-write the thing and use a more contemporary JS library that would eliminate about 70% of the code...
 
draxx
Involved
Involved



Joined: Nov 19, 2003
Posts: 282

PostPosted: Fri Mar 06, 2009 4:33 pm Reply with quote

A long time ago in a galaxy far far away I read that this mod was going to be included in the core RN. What happened ??
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

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 ©