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

 Login Problem - cccheckvalue()

Print topic Send  topic

Author Message
bmaclean

Posts: 7
Posted: 01/02/2005, 3:50 AM

I am using the eval version and have created a little test project. Things worked a while ago, but now I am gettting an odd error:

--
Fatal error: Cannot redeclare cccheckvalue() (previously declared in C:\sokkit\site\test_project\Classes.php:72) in C:\sokkit\site\test_project\Classes.php on line 72
--

Now for the really weird part: If I give the wrong id or password, the login page tells me “Login or Password is incorrect”. This means that the page is communicating with the database, and is able to find out that the values I input don’t match any data rows.

What is the meaning of the error and how do I fix it? I am connecting to SQL Server via an ODBC

Thanks,

Bill Mac
View profile  Send private message
Don Safar
Posted: 01/02/2005, 10:02 AM

sounds like you have included a file that is not specified as an include
file.
bmaclean

Posts: 7
Posted: 01/02/2005, 1:58 PM

Quote Don Safar:
sounds like you have included a file that is not specified as an include
file.
Thanks for the tip. I had Header and Footer pages, but had deleted them both, because I was going to work on them.

Re-creating the Footer solved the problem, though I am still a little confused. Could you confirm/change my speculation (ignore the header page for now)I am a PHP newbie

I suspect that here's what happened:
1) I originally had the Footer and marked it as "Includable" in the properties sheet.
2) Setting the property made CCS include the footer in all the other pages.
3) I deleted the Footer
4) Perhaps I forgot to re-gen the entire project. Thus, the include statement was still in the other pages. However, since the footer was gone, there was nothing to include, leading to an error.

Is this correct?

Second point of confusion: I have created the Header again and no matter what I do, it appears to be not included in any of the other pages.

THanks,

Mac
View profile  Send private message
Don Safar
Posted: 01/02/2005, 2:39 PM

Deleting a file from your project does not delete it from where you are
publishing. I suspect the Footer files are still there. You still have to
remove the footer file from your other pages. You will need to manually
include the header file in existing pages. If it is set to includable, it
will automatically be included in new pages you create.

"bmaclean" <bmaclean@forum.codecharge> wrote in message
news:541d86e9d8476d@news.codecharge.com...
>
Quote Don Safar:
> sounds like you have included a file that is not specified as an include
> file.
>
> Thanks for the tip. I had Header and Footer pages, but had deleted them
> both,
> because I was going to work on them.
>
> Re-creating the Footer solved the problem, though I am still a little
> confused.
> Could you confirm/change my speculation (ignore the header page for now)I
> am a
> PHP newbie
>
> I suspect that here's what happened:
> 1) I originally had the Footer and marked it as "Includable" in the
> properties
> sheet.
> 2) Setting the property made CCS include the footer in all the other
> pages.
> 3) I deleted the Footer
> 4) Perhaps I forgot to re-gen the entire project. Thus, the include
> statement
> was still in the other pages. However, since the footer was gone, there
> was
> nothing to include, leading to an error.
>
> Is this correct?
>
> Second point of confusion: I have created the Header again and no matter
> what
> I do, it appears to be not included in any of the other pages.
>
> THanks,
>
> Mac
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

meridiano

Posts: 2
Posted: 02/24/2005, 5:08 PM

Hola,

I find the same problem when I "Includable" page. In my case the "Includable" page haved just HTML code (of course CCS already created the .ccp file)...

So, for any reason CCS deleted the <html> and <head> tags in the begining and the bottom. That's all. I recreate it directly in HTML and all work fine.

I hope this will help you.

Adios!
_________________
Meridiano Tecnologías, S.L.
Barcelona, España
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.

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.