DMXzone Database Connector PHP Support Product Page
Under investigation
Invalid Data Source Name
Reported 22 Dec 2014 22:51:36
5
have this problem
22 Dec 2014 22:51:36 Shane Killgore posted:
I'm having an issue where no matter what database server I use, or which connection parameters I enter I always get the following error:Error Using This Database Connection!
Server Response : invalid data source name
I can't seem to get past this error. I've reinstalled the extension, checked to make sure I can access the database in other ways, file permissions, etc.
Replies
Replied 23 Dec 2014 01:10:47
23 Dec 2014 01:10:47 Shane Killgore replied:
So I disabled my .htaccess file to see if it had any effect on this issue and it completely resolved it. My .htaccess file only contains entries to force www and https. I think it caused the issue because of the dreamweaver testing server and the database connector... here's the contents of the .htaccess file:
-------------------
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule ^(.*)$ www.mydomain.com/$1 [R=301,L] # include 's' here to force ssl in addition to www
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ www.mydomain.com/$1 [R=301,L]
-------------------
Unfortunately I still need these entries to force a secure, www connection. If I have to I'll just disable it when working in dreamweaver or reapplying database connections then re-enable it. If there is any workaround to this please advise.
Thanks.
-------------------
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule ^(.*)$ www.mydomain.com/$1 [R=301,L] # include 's' here to force ssl in addition to www
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ www.mydomain.com/$1 [R=301,L]
-------------------
Unfortunately I still need these entries to force a secure, www connection. If I have to I'll just disable it when working in dreamweaver or reapplying database connections then re-enable it. If there is any workaround to this please advise.
Thanks.
Replied 05 Jan 2015 10:15:55
05 Jan 2015 10:15:55 Teodor Kuduschiev replied:
Hello Shane,
Is the htaccess file only causing issue, when you are trying to connect in DW? Is the page working fine when uploaded to the server?
Is the htaccess file only causing issue, when you are trying to connect in DW? Is the page working fine when uploaded to the server?
Replied 02 May 2015 07:14:04
02 May 2015 07:14:04 Kent Angel replied:
I have this same error, but unfortunately disabling the .htaccess doesn't work for me.
Has any progress been made on the investigation/resolution?
Has any progress been made on the investigation/resolution?