mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:34

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Connect to DB
PostPosted: 29 Mar 2006, 14:12 
Hi,
I installed OSCPM and when trying to connect to the database an error is displayed 'Protocol field is empty'. The applicating freezes and can only be terminated in the task manager.
The protocol field is not empty and indicated the version of MySQL that is in use.
What is going wrong here?

Thanks,

Joe

[/b]


Report this post
Top
  
Reply with quote  
 Post subject: Missing protocol...
PostPosted: 29 Mar 2006, 18:26 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Joe:

> I installed OSCPM and when trying to connect to the database
> an error is displayed 'Protocol field is empty'. The applicating
> freezes and can only be terminated in the task manager.
The protocol field is not empty and indicated the version of
> MySQL that is in use. What is going wrong here?

The problem is the following:

If the URL of the location of the server-side script does not have a protocol preffix (http://), when trying to connect to the server it fails with an error (an Indy error "protocol field is empty") and the application freezes.

The problem is in the option: Configuration > Network 3 > Upload script URL. The URL should be a full URL like "http://www.yoursite.com/catalog/oscpm1_upload.php", with the "http://" part. (Or the "https://" part if you have installed the OpenSSL libs and you are using SSL).

The same applies to the option Configuration > Images > Images URL.


The freezing is a different bug that only happens when something fails during the connection, but will not happen as soon as you fix your URLs. :)


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Connect to DB
PostPosted: 30 Mar 2006, 04:43 
Mario,

That was indeed the solution, it works.

Thanks very much,

Joe


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group