DMXzone Database Connector PHP Support Product Page

Under investigation

connection error

Reported 19 Apr 2016 21:05:14
1
has this problem
19 Apr 2016 21:05:14 Gabriel Vazquez posted:
Hi,
I have a problem using the database connector:
In the hosting provided by bluehost.com the database connection works fine.
In another site hosted in mochahost.com the connection fails to the same database, so I'm thinking is a server configuration problem.

-The error returned when testing the connection is:

Error using this Database Connection!

Server Response :

Page Not Found

var ref = escape(document.referrer);
var land = escape( location.href );

document.write( '' );

body {margin: 55px 0 0;}
.p_txt2{text-align:center;font-family:Verdana;color: #000;text-transform:none;background-image: url(promo.mochahost.com/servers_pages//404bg.gif);background-repeat: no-repeat;background-position: right bottom; background-color: #f9f6f7;}
.top404{text-align:right;background-color: #606060;}
h1{font-size:22px;text-transform:uppercase;font-weight:normal;margin:0px;padding:0px; padding-left:14px;text-align:left;}
h2{font-size:14px;font-weight:normal;margin:4px; padding-bottom:15px; padding-left:10px; text-align:left; line-height:22px;}
h3{font-size:14px;font-weight:normal; margin-top:18px;text-transform:none; text-align:center; color:#000}
a{color: #000099;text-decoration: none;}
a:hover{color: #0066FF;text-decoration: none;}
img{border:none;}
.banner{margin-top:18px; margin-bottom:5px;}

The page you're looking for was moved or never existed.
Make sure you typed the correct URL or followed a valid link.

This domain is hosted by MochaHost.com

var lpPosY = 100;
var lpPosX = 100;

- the server configuration is:
php version 5.3 (native)



Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2" c:\php\includes" .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time Maximum execution time of each script, in seconds 30
Resource Limits max_input_time Maximum amount of time each script may spend parsing request data 60
Resource Limits memory_limit Maximum amount of memory a script may consume (32MB) 256M
Data Handling register_globals Off
Language Options safe_mode Off
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 2M
main session.save_path Argument passed to save_handler. In the case of files, this is the path where data files are stored. Note: Windows users have to change this variable in order to use PHP's session functions. As of PHP 4.0.1, you can define the path as: session.save_path = "N;/path" where N is an integer. Instead of storing all the session files in /path, what this will do is use subdirectories N-levels deep, and store the session data in those directories. This is useful if you or your OS have problems with lots of files in one directory, and is a more efficient layout for servers that handle lots of sessions. NOTE 1: PHP will not create this directory structure automatically. You can use the script in the ext/session dir for that purpose. NOTE 2: See the section on garbage collection below if you choose to use subdirectories for session storage /tmp

Replies

Replied 20 Apr 2016 07:32:42
20 Apr 2016 07:32:42 Teodor Kuduschiev replied:
Hello Gabriel,
Mochahost are well known with their servers causing problems to most of their customers.
It is better to contact them and ask them if PDO for Mysql is enabled, and also provide their support this error.

Reply to this topic