CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Change of macine screw up my work.

Print topic Send  topic

Author Message
nchankov

Posts: 4
Posted: 09/03/2006, 5:03 AM

Hi,

Here is the problem.
Few months ago I build a website with CCS. The project now is online and its working. Mean while I got new machine /Laptop/ and I free my machine from all my stuff and reinstall it.

A week ago the customer want to make some changes in the interface, and I need to install the CCS again on the new machine. I did properly everything /it's registered version and the system accept my code properly/.

The problem came when I put the old project into Projects folder. I opened the project, but then I changed my settings /because I am using xampp now/ the published project was blank page. First time I thought it was XAMPP /php,mysql,apache/ instalation, but when I tried to connect with native mysql with php it works.

I copy all files from live web server and it worked. Then I did compare of all files and I notice that in Common.php file there are few changes in comments like:

//Initialize Common Variables @0-1840E63D

is differen than

//Initialize Common Variables @0-16EEDA5C

and probably the engine rely on these comments to check if that code is correct etc.
I was used the same version of CCS in old machine and new one with the same registration code and both times the registration code was accepted corectly /it's normal because it's legal/.

Could you tell me how to fix this problem and why it happened, becuse otherwise I have to use "manual input" which for that project is not very usefull.

Thanks in advance

_________________
Regards
Nik Chankov
View profile  Send private message
wkempees


Posts: 1679
Posted: 09/03/2006, 3:54 PM

Nik,

I use the same sort of setup, and never encounter this problem.
So my advice would be to re-check your project settings.

If you use a default Xampp setup, then it should work.
startup xampp, make sure everything functions, by addressing your browser to "localhost"
that should display the Xampp main install page.
then create a directory for your project in XAMPP/htdocs
then create or Import the database

Open your project in CCS, with the htdocs/yourproject still empty
Project settings Connetctions, design using ODBC check thesettings for the ODBC connector to be pointing to Localhost with the correct username/password
Publishing setting also to \xampp\htdocs\yourproject and adress as: localhost/yourproject
Set publish option to all files

Then press Publish

That should do, I think.

Walter

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
nchankov

Posts: 4
Posted: 09/03/2006, 11:55 PM

Hi Walter,

Probably I didnt explain correctly, but I dont have problems with XAMPP installation at all. Also with CCS. I could say that I am pretty much advanced user. :-)

The problem is when I publish project files into htdocs/myproject directory. This directory is not blank. just files dont have content /some function in CCS which parse file and depending from comments display output or not/. Probably some kind of protection against "ilegal" installation. But that's what I am saying - my version is legal, I just change my computer and this cause the problem.

Thanks anyway, but I will appreciate if comebody had this problem to tell me his experience. Also CCS Support could help.



_________________
Regards
Nik Chankov
View profile  Send private message
WKempees
Posted: 09/04/2006, 12:52 AM

Sorry If I made you feel like first timer, not intended.

If activated allright, then there is no protection.
Quick path to support : http://support.yessoftware.com

I move xampp htdocs between desktop and Laptop, no problem.

Walter

nchankov

Posts: 4
Posted: 09/04/2006, 1:00 AM

No problem at all, I dont take it so hard ;)

but if I move PHPs from these 2 http server dont cause the problem, it's ok, and should be ok. The problem is because I need to do some modifications in the code and I need to publish it, but when I publish it the problem occurs. The CCS make modifications in Common.php file even though I didnt touch it... and after publish on the production dir (htdocs/myproject) the pages are blank. when I copy Common.php file from the server it's working, but I think it's not common practice to Copy Common files every time when I publish the project and after this to put Common.php in that dir.
_________________
Regards
Nik Chankov
View profile  Send private message
nchankov

Posts: 4
Posted: 09/04/2006, 2:24 AM

Hi again,

CCS Support help so very quickly and solved my problem. But I as good Forum-er want to write the solution here, to help somebody with the same problem in the future.

So the problem was pretty simple:
CSS Support suggest me to remove all php files in Project Directory except *_events.php and to regenerate the project with F9 (Complete Publish). And it works.
Important - Dont remove HTML Template files as I did in the first time.

Good Practice is to backup your Project directory.

So thanks to all for quick responce and suggestions.
_________________
Regards
Nik Chankov
View profile  Send private message

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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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