Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 01-21-2005, 11:49 PM
CheckSix Offline
forum loafer
 
Join Date: Jan 2005
Posts: 10
PHP Newbie Needs Help

See Below...
__________________
CheckSix
Reply With Quote
  #2  
Old 01-23-2005, 03:42 PM
Connie
Guest
 
Posts: n/a
I am absolute sure this is absolutely wrong...

at which step of the installation process are you typing in this "admin@localhost"?

Is this the data for the MySQL-Database?
Please ask your provider about

Name of Host
Name of Database User
Password of Database User
Name of Database

these entries must be written into the file "pixelpost.php" in the admin-directory

take care that is typed exactly like you got if from your provide (case sensitive etc.)

Good luck!

Connie
Reply With Quote
  #3  
Old 01-23-2005, 03:51 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Thanks, I'll check it out.
Reply With Quote
  #4  
Old 01-29-2005, 12:18 AM
CheckSix Offline
forum loafer
 
Join Date: Jan 2005
Posts: 10
I could use some more help here... I decided to start out fresh and redownloaded PixelPost so I could start over.

Now, I'm editing pixelpost.php as listed in the directions on how to install.

Quote:
database variables - this is info you've received from you hosting service
// those are needed for the script to connect and use MySQL

$pixelpost_db_host = "localhost"; // database host, often "localhost"
$pixelpost_db_user = "admin"; // database user
$pixelpost_db_pass = "admin"; // database user password
$pixelpost_db_pixelpost = "localhost"; // database

$pixelpost_db_prefix = "pixelpost_"; // table prefix, leave as is unless you want to install multiple blogs on the same database

// pixelpost version
$version = "WW91IGFyZSBydW5uaW5nIHZlcnNpb24gPGI+MS4zPC9iPiBvZ iBQaXhlbHBvc3QuIFJlbGVhc2VkIDE2IG5vdmVtYmVyIDIwMDQ u";

That is of course the database variables list. Now, I can't seem to figure out what goes where. This is my hosting information.

Quote:
$dbh=mysql_connect ("localhost", "ryansch_gllr1", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("ryansch_gllr1");
Can someone help me put the right variables in the right place? Thanks! I'm so confused with this PHP. I've never done any type of coding whatsover, only very, very, very basic HTML. Thanks for any help!
__________________
CheckSix
Reply With Quote
  #5  
Old 01-29-2005, 08:41 AM
Connie
Guest
 
Posts: n/a
As I read this, I get very angry because your hoster seems not to understand the simplest questions :evil:

he gave you a typical code-example of how to connect to a database, what you can find in any PHP-Tutorial as well and which is not the info you asked for..

we can try to find out deciphering the syntax of the connect--snippet:
as far as I understand, it should be :
Quote:
$pixelpost_db_host: localhost

$pixelpost_db_user: ryansch_gllr1

$pixelpost_db_pass: I am sure this is not <PASSWORD HERE>, they must tell you the password of the database!!!!

$pixelpost_db_pixelpost: ryansch_gllr1 ( as "mysql_select_db ("ryansch_gllr1"); ") but it is really unusual that the database should have the same name as the user....
You now need the password for the database-access of the user "ryansch_gllr1" as this is something what they configure

when I read this, I get angry about your provider, it seems they themself don't know anything about their own services, so try to find out if they gave you the password already or insist on this information!

you must not be a PHP-savy person, you only need
- a hoster with good support and documentation or capable support-people
- a hosting package which supports PHP and MYSQL
- and a normal editor to type in the necessary data

that is all, check out when you have the password and for sure we will help you to get it work!

good luck!
Reply With Quote
  #6  
Old 01-29-2005, 04:01 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Thanks! It worked perfectly!

One more question, how do I set permissions on the folders?
Reply With Quote
  #7  
Old 01-29-2005, 04:11 PM
CheckSix Offline
forum loafer
 
Join Date: Jan 2005
Posts: 10
Ah, nevermind, figured out the permissions thing too.
__________________
CheckSix
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:05 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs