UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-2008, 16:09
new member
 
Join Date: Jul 2008
Posts: 4
Default going from _pconnect to _connect - modifying dreamweaver

has anyone managed to make dreamweaver work, since everytime i try to add the connection and go on to select a database it gives me an error saying

mysql is not loaded or mysql_(p)connect is disabled

then i can't make any queries through its interface

any help is appreciated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-07-2008, 16:35
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,816
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Hi,

we have mysql_pconnect disabled on all our servers. You will need to use mysql_connect in your code.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-07-2008, 21:34
new member
 
Join Date: Jul 2008
Posts: 4
Default

yeah i gathered that. but do you know how to modify dreamweaver so that it uses _connect rather than _pconnect

atm i am not able to use dreamweaver to code my website hosting in php/mysql with your web hosting.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-07-2008, 22:34
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,816
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Quote:
Originally Posted by speedyss View Post
yeah i gathered that. but do you know how to modify dreamweaver so that it uses _connect rather than _pconnect

atm i am not able to use dreamweaver to code my website hosting in php/mysql with your web hosting.
Can you upload it on server with mysql_pconnect and then ask our staff to change pconnect to connect ?

I have no knowledge of Dreamweaver so you will need to wait till other members respond.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-07-2008, 08:13
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 362
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

I don't use dreamweaver myself (PHPEdit suits me much better) but I believe dreamweaver uses HTTP to connect to a script on the server which then connects to the database. The script that it uploads to the server is located in C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration\Connections\Scripts\PHP_MySQL\_ mmDBScripts. There are two files mysql.php and MMHTTPDB.php. that you will need to edit this file to change pconnect to connect. That should do it
__________________
David Allen - www.serina.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-07-2008, 22:13
new member
 
Join Date: Jul 2008
Posts: 4
Default

Quote:
Originally Posted by DavidAllen View Post
I don't use dreamweaver myself (PHPEdit suits me much better) but I believe dreamweaver uses HTTP to connect to a script on the server which then connects to the database. The script that it uploads to the server is located in C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration\Connections\Scripts\PHP_MySQL\_ mmDBScripts. There are two files mysql.php and MMHTTPDB.php. that you will need to edit this file to change pconnect to connect. That should do it
Hi David,

Thanks a lot for your response. I am actually using CS3 which has slightly different file structure. I managed to find my way into the connections folder and changed every pconnect to connect in all files under the folder PHP_MYSQL - but there wasn't a pconnect in MMHTTPDB.php (i did a search in notepad).

Unfortunately, the problem still remains - dreamweaver is not able to connect to the database. Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-07-2008, 07:34
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 362
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

Hi - I think it uploads those files to your server - so perhaps it hasn't uploaded the ones you changed yet - try uploading the changed files manually. Or just delete the files on the server and recreate the connection in Dreamweaver and it should re-upload them for you
__________________
David Allen - www.serina.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-07-2008, 08:25
new member
 
Join Date: Jul 2008
Posts: 4
Default

perfect, that works.

Thanks a LOT!

May be eukhost.com could put this in their knowledgebase, considering many people do use dreamweaver to program their web site hosting nowdays.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:53.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service