CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 CCS PHP serious programmer help

Print topic Send  topic

Author Message
JFR
Posted: 03/18/2004, 9:03 AM

Hello,

Do you have reference of somenone who provides help in PHP using Code
Charge Studio?

I found this reference online:
http://www.yourphppro.com/version/en-us/content/page_13.html

Is it one you recommend or not?

Please this is important, I really need some help.

Sincerely,

Jean-François
Don Safar
Posted: 03/18/2004, 9:36 AM

I have been consulting with codecharge studio users for the past several
months. Please contact me If you are interested in receiving help for a
reasonable fee. You can also visit this link to see others offering help.
http://forums.codecharge.com/forum.php?forum_id=20
"JFR" <jfroy@wanadoo.fr> wrote in message
news:c3ckp4$8bm$1@news.codecharge.com...
> Hello,
>
> Do you have reference of somenone who provides help in PHP using Code
> Charge Studio?
>
> I found this reference online:
> http://www.yourphppro.com/version/en-us/content/page_13.html
>
> Is it one you recommend or not?
>
> Please this is important, I really need some help.
>
> Sincerely,
>
> Jean-François

Mark Kish
Posted: 03/18/2004, 10:55 AM

What is your fee?
donsafar


Posts: 90
Posted: 03/18/2004, 11:53 AM

I've been working with CodeCharge and CodeCharge Studio since the beta release of both products. I have developed projects with primarily ASP and PHP. My rate is $50 per hour. You can view samples of my work at http://www.insights-web.com. 8-)
_________________
Don Safar
View profile  Send private message
Mark Kish
Posted: 03/18/2004, 12:51 PM

Are you familiar with the CCS tutorials? I'm going through the TaskManager tutorial, just trying to familiarize myself with the web application environment. My connections test fine; however, I'm getting the following error:

Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /c42/tbedreso/CCS/db_mysql.php on line 97
Database error: pconnect(, , $DBPassword) failed.
MySQL Error: 0 ()
Session halted.

In going to the db_mysql file, I find some variables incomplete (i.e. $DBHost = ""; $DBPort = ""; $DBDatabase = ""; $DBUser = ""; $DBPassword = ""), so I plug in what I think is the right information. But no luck. If my connections test fine, then why is this file causing me problems? Why are the variables incomplete?

ValueWeb is hosting my MySQL database. I've contacted both them (phone) and CCS (online), but neither have been of much help. ValueWeb seems to think the problem is in the above-mentioned file, but does not provide scripting help, otherwise. CCS just tells me to read the entire World Wide Web's worth of PHP info. I feel like the answer is right at my fingertips, but I don't know what it is.

Must I have the PHP engine installed on my computer if a remote server is hosting my database? Just to use the tutorial?
donsafar


Posts: 90
Posted: 03/18/2004, 7:17 PM

Looks like your server connections are not setup correctly in your project. Click on Project Settings, then Connection, then Server. Make sure you have selected MySQL as the database and the database name, host (localhost should work), login and password are set correctly per the database on your isp. Let me know if this fixes your problem.
_________________
Don Safar
View profile  Send private message
JFR
Posted: 03/19/2004, 1:25 AM

donsafar wrote:
> Looks like your server connections are not setup correctly in your project. Click on Project Settings, then Connection, then Server. Make sure you have selected MySQL as the database and the database name, host (localhost should work), login and password are set correctly per the database on your isp. Let me know if this fixes your problem.
> _________________
> Don Safar
> http://www.insights-web.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
Hi Don,

Actually the application works just fine as everything is ok in the
database on the server side.

The problem is really about CCS and session variables hanlding.

Thank you,

Cordially,

Jean-François
JFR
Posted: 03/19/2004, 1:45 AM

Hi Mark

The database value souldn't be in the db_mysql.php page but in the
Common.php page starting from line 83 or about there.

The variables you mention in the file dm_mysql.php sould be empty.

Hopes this helps.

Regards,

Jean-François


Mark Kish wrote:

> Are you familiar with the CCS tutorials? I'm going through the TaskManager tutorial, just trying to familiarize myself with the web application environment. My connections test fine; however, I'm getting the following error:
>
> Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /c42/tbedreso/CCS/db_mysql.php on line 97
> Database error: pconnect(, , $DBPassword) failed.
> MySQL Error: 0 ()
> Session halted.
>
> In going to the db_mysql file, I find some variables incomplete (i.e. $DBHost = ""; $DBPort = ""; $DBDatabase = ""; $DBUser = ""; $DBPassword = ""), so I plug in what I think is the right information. But no luck. If my connections test fine, then why is this file causing me problems? Why are the variables incomplete?
>
> ValueWeb is hosting my MySQL database. I've contacted both them (phone) and CCS (online), but neither have been of much help. ValueWeb seems to think the problem is in the above-mentioned file, but does not provide scripting help, otherwise. CCS just tells me to read the entire World Wide Web's worth of PHP info. I feel like the answer is right at my fingertips, but I don't know what it is.
>
> Must I have the PHP engine installed on my computer if a remote server is hosting my database? Just to use the tutorial?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
Mark Kish
Posted: 03/19/2004, 11:22 AM

Thank you all!!! With the help from you and many others, I can FINALLY move on in the tutorial.

Just for future reference, should anyone experience the same thing, the problem was actually quite simple:

ALL database connections MUST have remote server info completed (I had three connections and one had the info missing). After filling in the info, the Classes.php and Common.php (Common) files must be rebuilt. This is done by deleting their contents and regenerating the files by going live ("Live Page" view) with another .php file (e.g. tasks_list) in the tutorial, or whatever you're working on.

All of that said, the problem resided NOT in db_mysql.php, despite the error message. JFR, you were correct in saying the file's variables should be left empty. I had discovered that last night in conversing with CodeCharge support, but did not know about my incomplete db connection until this morning, after CodeCharge was able to look at my project (I had e-mailed it to them).

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.