Page 1 of 1

Use Database and one other question

Posted: 26 Dec 2015, 10:32
by Dennis kaczor
Code
Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/torontod/www/www/x3/panel/install/install.php on line 10

Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/torontod/www/www/x3/panel/install/install.php on line 10

Warning: mysql_select_db(): Access denied for user ''@'localhost' (using password: NO) in /home/torontod/www/www/x3/panel/install/install.php on line 11

Warning: mysql_select_db(): A link to the server could not be established in /home/torontod/www/www/x3/panel/install/install.php on line 11

Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/torontod/www/www/x3/panel/install/install.php on line 27

Warning: mysql_query(): A link to the server could not be established in /home/torontod/www/www/x3/panel/install/install.php on line 27


ERROR: Access denied for user ''@'localhost' (using password: NO)
Database Host Name: localhost
Database User Name and Password, I can login to the server and go to MySQL and see the database. I have confirmed this information with my provider. Imagevue X3 is not in the root, but in the directory folder X3.

The above was entered in Use Database, and then I clicked install, now this is a little vague and confusing here and need to clarify this.

First Name: Dennis
Last Name: Kaczor
Email: My email address.
User Name: ?
Password:?

Not clear is this is the right information required, but spent some time trying get the Use Database without any luck.

My other question is and I guess spending time with the database problem that I cannot figure this out, but I want to add the About me on the main page along with the Galleries and Contact is located and I'm sure that I'm missing something easy here.

Thank you for any help with this and would like to be able to get this sorted out.

Dennis

Re: Use Database and one other question

Posted: 26 Dec 2015, 12:05
by mjau-mjau
The errors you are referring to are from PHP standard mysql call:
Code
mysql_connect(DB_HOST,DB_USER,DB_PASS);
Seems like it doesn't like what you added to DB_HOST, or the specific user you added is not allowed to access a specific table.

"user ''@'localhost'"? ... strange username. Normally, it's just "root". Unfortunately, it's likely you have some incorrect mysql info, OR the db user you have is not allowed to access the DB already created. You did create a DB first?
Dennis kaczor wrote:but I want to add the About me on the main page along with the Galleries and Contact is located and I'm sure that I'm missing something easy here.
Ok, this of course has nothing to do with database. Don't you just have the normal login enabled for now? The DB-version doesn't offer anything more than the plain login-version, except you can create "multiple users".

As for the question above, I am not quite sure what you are asking. You want to add an "about me" page? We already have some SAMPLE content available for an about-me page, that you can add to any content in your own page. Did you try to just create a new page in content root called "3.about" (or change the number), and then pasting the code for about-page?

Re: Use Database and one other question

Posted: 26 Dec 2015, 14:59
by Dennis kaczor
Hi Karl,

As for the Use Database, since this has no major impact and since I'm the only one using the program, I'm fine with not using the database version.

As for the "About Me" what I want to do is place that on the top page where the , Gallery, Contacts and Home page is located. For some reason I cannot figure it out. I have copied over the sample one that was provided, but like I said I would like to have it top page selection.

Great job on this release, sure is different than X2. Just getting the hang of this release.

Thanks

Dennis

Re: Use Database and one other question

Posted: 26 Dec 2015, 23:32
by mjau-mjau
Dennis kaczor wrote:As for the "About Me" what I want to do is place that on the top page where the , Gallery, Contacts and Home page is located. For some reason I cannot figure it out. I have copied over the sample one that was provided, but like I said I would like to have it top page selection.
Yes, you mean in the top-level main menu? The page will automatically display in the menu as a top-level item if the folder is located as a direct child of the "content" folder. Also, do you have a number in front of the folder name (eg. 3.about)? It should display.

If it's not displaying, I will need link and login to your admin panel please.

Re: Use Database and one other question

Posted: 27 Dec 2015, 10:36
by Dennis kaczor
Thanks Karl, I see what you were saying now and got it to work. Looking in all the wrong locations and all the time it was right in front of me.

Now working on getting it set up.

Thanks for the help.

Dennis

Re: Use Database and one other question

Posted: 12 Feb 2016, 14:24
by Dennis kaczor
Hi Karl,

I thought I would pass on this info in case others are having database issue. I thought I would take another stab at this one more time and got it to work... I put in all the info as I did before, but this time I saved before I ran the install. Put in the info on the install screen and everything this time worked fine.

In the database fields, enter the information first...Hit the Save Button and then the install link That worked for me.