I changed a code in the configure.php from

define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

to

define('DIR_WS_CATALOG', '//');
define('DIR_WS_HTTPS_CATALOG', '//');

and came up with an error (0 DB_ERROR_NOT_CONNECTED) after changing the permission from 444 to 777 and uploading the changes.

i then changed it back to

define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

and i still come up with the same error message
0 DB_ERROR_NOT_CONNECTED

can someone please help me