To post a new support question, click the Post New Topic button below.
Current Version: 5.4.2 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

New Server

K
22 posts
Mon Sep 29, 25 2:28 PM CST

I have migrated to a new server and tried to access my Stylist Cart Admin. It is in place on the server file management side, but I keep getting this error. Can someone help me figure out what I am doing incorrectly?

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'u356038851_db'@'localhost' (using password: YES) in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php:15 Stack trace: #0 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php(15): mysqli_connect() #1 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-admin/index.php(30): dbConnect() #2 {main} thrown in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php on line 15

B
43 posts
Mon Sep 29, 25 2:44 PM CST

Either your user u356038851_db has no read/write access or your mysql db is inaccessible using the localhost as a host. Or your u356038851_db has wrong password in your sytist config

K
22 posts
Mon Sep 29, 25 3:25 PM CST

I made a change based on the screenshot, but still getting an error?


Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'u356038851_ypaeohm_db'@'localhost' (using password: YES) in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php:15 Stack trace: #0 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php(15): mysqli_connect() #1 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-admin/index.php(30): dbConnect() #2 {main} thrown in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php on line 15

Edited Mon Sep 29, 25 3:26 PM by Kenneth Anderson
K
22 posts
Mon Sep 29, 25 3:26 PM CST

I made a change based on the screenshot, but still getting an error?

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'u356038851_ypaeohm_db'@'localhost' (using password: YES) in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php:15 Stack trace: #0 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php(15): mysqli_connect() #1 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-admin/index.php(30): dbConnect() #2 {main} thrown in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php on line 15

Attached Photos

17,386 posts (admin)
Tue Sep 30, 25 7:15 AM CST

Database user u356038851_ypaeohm_db is incorrect. Doesn't match your screenshot. 

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
K
22 posts
Tue Sep 30, 25 8:21 AM CST

Sorry wrong screen shot.

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'u356038851_ypaeohm_db'@'localhost' (using password: YES) in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php:15 Stack trace: #0 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php(15): mysqli_connect() #1 /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-admin/index.php(30): dbConnect() #2 {main} thrown in /home/u356038851/domains/kenandersonphotography.com/public_html/gallery/sy-inc/functions.core.php on line 15

Attached Photos

K
22 posts
Tue Sep 30, 25 8:25 AM CST

This is the SYS Config


<?php
$setup['path']= dirname(__FILE__);
$setup['url'] = "http://".$_SERVER['HTTP_HOST']."";

$setup['pc_db_location'] = "localhost";
$setup['pc_db'] = "u356038851_ypaeohm_db";
$setup['pc_db_user'] = "u356038851_ypaeohm_db";
$setup['pc_db_pass'] = "Removed for safety REason";
$setup['content_folder'] = "";
$setup['manage_folder'] = "sy-admin";
$setup['inc_folder'] = "sy-inc";
$setup['graphics_folder'] = "sy-graphics";
$setup['misc_folder'] = "sy-misc";
$setup['photos_upload_folder'] = "sy-photos";
$setup['layouts_folder'] = "sy-layouts";
$setup['tags_folder'] = "tags";
$setup['downloads_folder'] = "sy-downloads";
error_reporting(E_ALL ^ E_NOTICE);
ini_set('memory_limit', '256M');
ini_set('upload_max_filesize', '30M');
ini_set('post_max_size', '30M');
//ini_set('log_errors', 'on');
//ini_set('error_log', $setup['path']."/errors.txt");
ini_set('session.gc_maxlifetime',   3600);
ini_set('session.save_path', $setup['path']."/sy-phpsessions");


// Below is used when installing on a temporary URL. If you have your domain pointing to this hosting account now and no longer using a temporary URL, remove the line bellow



// If you need to make adjustments to this file do so below this line before the closing PHP tag. 


?>


17,386 posts (admin)
Tue Sep 30, 25 11:41 AM CST

Your username and database name don't have _db at the end of them in the screenshots.

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
K
22 posts
Tue Sep 30, 25 11:46 AM CST

Hi Tim, Thanks for the tip. I made that change to the Sys Config PHP and the error went away. Just cant figure out why its not showing now unless something needs to propagate?

Attached Photos

Edited Tue Sep 30, 25 11:55 AM by Kenneth Anderson
17,386 posts (admin)
Tue Sep 30, 25 12:02 PM CST

Your new host is probably using PHP 8 and you are probably on a really old version of Sytist that is probably not compatible with PHP 8.

You will either have to have the PHP version changed to 7.4 or upgrade your Sytist. 

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
K
22 posts
Tue Sep 30, 25 12:27 PM CST

Thanks Tim. I checked my previous server and it seems like they were on 8.2. which is how the admin page looks blank. I did try switching it to 7.4 and got an error on the page.

Attached Photos

11 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 79 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close