PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
killerz
New Member
New Member


Joined: Sep 17, 2008
Posts: 6

PostPosted: Sat Sep 20, 2008 4:59 pm Reply with quote Back to top

Hi, I am new to this so bear with me please. I made a database and uploaded the html files to my webspace following the included instructions. When i visit
Only registered users can see links on this board!
Get registered or login to the forums!
(replaced with my actual domain) i get these messages

There seems to be a problem connecting to the MySQL server.
MySQL is Reporting
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

If you are the System Administrator and installing this for the first time, did you remember to create your database first?

There seems to be a problem with the System Configuration Table - it's missing.

If you are the System Administrator and installing this for the first time, did you remember to run the INSTALLATION/installSQL.php file?

Is this what I should see? I see that the bottom part is what I am supposed to see before running installSQL.php, but the top part about cant connect isnt in the instructions. I have tried 2 ways of putting in the info into the config.php. The first way I had it just my username, password, and dbname with out my host username. Then i tried with my host username(i am assuming that by host user, it is meant my actual login username to get to my cpanel) but got the same results. If this is what I am supposed to see then great just let me know. If not and you can help then i would be greatful. Thanks in advance.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Sep 20, 2008 7:37 pm Reply with quote Back to top

You need to verify your settings in your config.php. The settings have nothing to do with your cPanel. When you created your database you have to create a database user/password and then you have to add that username to the database you created. Then, use those settings in your config.php file. Then you can trun your installSQL.php script.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
killerz
New Member
New Member


Joined: Sep 17, 2008
Posts: 6

PostPosted: Sat Sep 20, 2008 9:24 pm Reply with quote Back to top

$dbhost = 'localhost';
$dbuname = 'myuser';
$dbpass = 'mypass';
$dbname = 'mydb';
$prefix = 'nuke';
$user_prefix = 'nuke';
$dbtype = 'MySQL';
$sitekey = 'SdFk*fa2rnv21076v28367-dm52?6w69.3a2fDS+e9killer';
$gfx_chk = 3;
$subscription_url = '';
$admin_file = 'admin';
$tipath = 'images/topics/';

this is what i have in my config.php with dbuname,pass, and name changed. this is what i mean by my cpanel login username.

For this example, we will assume that your site name is ravensite.com and your host username is raven. That means that your database name and database username will automatically be prefaced by raven_. This is an important point to remember. Let us get started.

what is my host username? is it the username i use to login to my cpanel?
i have tried it with no username before ie raven_mydb and without ie just mydb. both times getting the same message when i visit mydomain.com
I know i am doing something wrong i just dont know where. I would be glad to pm you an actual copy of my config and db settings if you would like to see.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Sep 20, 2008 9:49 pm Reply with quote Back to top

Quote:
what is my host username? is it the username i use to login to my cpanel?

No. That's what I detailed in my first response.

Goto
Only registered users can see links on this board!
Get registered or login to the forums!
and select Prepare/Install the Database and follow those detailed istructions.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
killerz
New Member
New Member


Joined: Sep 17, 2008
Posts: 6

PostPosted: Sat Sep 20, 2008 10:08 pm Reply with quote Back to top

sry i misunderstood what you meant in your install guide by host username..like i said...im a noob....anyways i got it figured out right after posting had to replace localhost with different entry. Now when i load the installSQL.php and get to step 1-load core tables i click it and it doesnt load. i get an error at the bottom of page

The exact error message that your MySQL server reported is:
MySQL Error # 4 = Duplicate entry 'Feeds-use_fb' for key 1
Warning: Unknown(): open(/var/php_sessions/sess_da28625526e7229a3a89218f5217f88c, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on
line 0

what did i do wrong now? thanks again
View user's profile Send private message
killerz
New Member
New Member


Joined: Sep 17, 2008
Posts: 6

PostPosted: Sat Sep 20, 2008 11:33 pm Reply with quote Back to top

i found some posts in the forums with like problems and tried some things
first i deleted all tables from the db and went to mypage.com/INSTALLATION/installSQL.php and this was already at the bottom of the page

Warning: Unknown(): open(/var/php_sessions/sess_95f7a17e72d435d6c56d317c6cf1e07a, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

Should it be like this? when i click the load core tables button it flashes real quick something in the box and then goes back to not loaded. I also changed the My SQL connection collation to latin1_bin. I dont know if that was supposed to help, seemed to help some in other posts. there are other latin1 selections also. but i havent the slightest idea what the difference is. with latin1_bin i get the same result. There is another line above my sql connection collation but i cant seem to be able to adjust it. its called My SQL charset and it seems to be perma set to UTF-8 unicode (utf8) Right now im lost so any help would be great. thanks
View user's profile Send private message
killerz
New Member
New Member


Joined: Sep 17, 2008
Posts: 6

PostPosted: Sun Sep 21, 2008 12:52 am Reply with quote Back to top

sry for the constant posts. i got it to work by just going through the load buttons even though it never said loaded in the box. finished and went to setup and everything seems to be working. finished rest of installation instructions. now just one final question. Where do i use the wysiwyg editior? is there instructions somewhere on how to use it?
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6300
Location: Vsetin, Czech Republic

PostPosted: Sun Sep 21, 2008 3:36 am Reply with quote Back to top

The first thing you need to do is contact your host and ask them to check the session.save_path is correctly set on the server - the error message you are getting indicates it is not set correctly.

The editor is turned on by default and the setting is found in rnconfig.php
Code:
$advanced_editor = 1;
to turn it off change the 1 for a 0

If the editor is not working, it is likely that either some files were not uploaded correctly or were uploaded in ASCII mode instead of BINARY
View user's profile Send private message Send e-mail Visit poster's website
montego
Former Admin in Good Standing


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

PostPosted: Sun Sep 21, 2008 7:38 am Reply with quote Back to top

Yeah, and not having the session path fixed will create other problems for you using RavenNuke(tm). For example, the login captcha will not work. They need to fix their screwed up installation.
View user's profile Send private message Visit poster's website
killerz
New Member
New Member


Joined: Sep 17, 2008
Posts: 6

PostPosted: Sun Sep 21, 2008 11:45 am Reply with quote Back to top

thanks for the help guys. the editor was working i just didnt realize it.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum