codebang
Posts: 74
|
| Posted: 01/19/2009, 5:55 AM |
|
Dear all.....
The navigation in all my screen does not appear and is not working....??
It appears in design mode but after i publish my page...it just seems to vanish off.
This is not only in 1 of the screens, but my whole project...anybody knows why?
Ur help will be highly appreciated.
Salah Hafiz Midhat.
|
 |
 |
Markie
Posts: 251
|
| Posted: 01/19/2009, 7:20 AM |
|
how much records appear in your grid ?
_________________
The Netherlands, GMT+1
Tools: CCS 5.1, Windows 7, Navicat, Ultraedit
Local server: XAMPP with Apache, php and MySQL
Webserver: Windows 2008 IIS 7, php and MySQL |
 |
 |
codebang
Posts: 74
|
| Posted: 01/19/2009, 7:22 AM |
|
i can have more than 500 records in a page...... even if i specify a number of records in a single page...nothing appears...no navigation.
Please help...
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 01/19/2009, 8:06 AM |
|
Hi
Like Markie is trying to find out. The navigator only appears when your grid has exceeded the number of records you specified in the grid properties and requires two pages or more to display them all.
If you have set your grid properties to 500 on a page the navigator will not appear until your query returns 501 records.
Make sense?
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
Markie
Posts: 251
|
| Posted: 01/19/2009, 8:40 AM |
|
That's indeed what I tried to find out, I think your question is answered
_________________
The Netherlands, GMT+1
Tools: CCS 5.1, Windows 7, Navicat, Ultraedit
Local server: XAMPP with Apache, php and MySQL
Webserver: Windows 2008 IIS 7, php and MySQL |
 |
 |
codebang
Posts: 74
|
| Posted: 01/20/2009, 1:15 AM |
|
no, im very sorry, my question was not answered.
I have a table named tbl_work_sheet, it has 398 reecords...in my grid im showing only 50 records per page...?now where is the navigator??? how can i see the rest of the data..how can i go to page 2..
|
 |
 |
damian
Posts: 838
|
| Posted: 01/20/2009, 2:28 AM |
|
if you view the page.html instead of page.php do you see the navigator?
if you view the source of your html page do you se something like this?
<!-- BEGIN Navigator Navigator -->
<!-- BEGIN First_On --><a href="{First_URL}">|<</a> <!-- END First_On -->
<!-- BEGIN Prev_On --><a href="{Prev_URL}"><<</a> <!-- END Prev_On --> {Page_Number} of {Total_Pages}
<!-- BEGIN Next_On --><a href="{Next_URL}">>></a> <!-- END Next_On -->
<!-- BEGIN Last_On --><a href="{Last_URL}">>|</a> <!-- END Last_On --><!-- END Navigator Navigator -->
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
codebang
Posts: 74
|
| Posted: 01/20/2009, 2:39 AM |
|
yes i see it in the page.html...and yes i can see the above code that u mentioned in the page.html.
|
 |
 |
damian
Posts: 838
|
| Posted: 01/20/2009, 3:23 AM |
|
is the following line in your page.php file?
include_once(RelativePath . "/Navigator.php");
does the navigator.php file exist on your server?
is the case correct?
have you regenerated the project?
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
codebang
Posts: 74
|
| Posted: 01/20/2009, 4:10 AM |
|
yes it exists and yes i have regenerated my project...still no results.
|
 |
 |
damian
Posts: 838
|
| Posted: 01/20/2009, 4:16 AM |
|
and this happens on all pages in project?
same on live and development servers?
have you tried copying Navigator.php from another project?
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
codebang
Posts: 74
|
| Posted: 01/20/2009, 4:31 AM |
|
yes...this happens on all the pages of the project and even in some it is there but itz just like text.its not active.
yes same on live and development servers.
yes tried copying Navigator.php from another project....no result..still the same.
|
 |
 |
damian
Posts: 838
|
| Posted: 01/21/2009, 11:31 AM |
|
have you modified any of the common files?
do any of them have code in white space?
log it with support....
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 01/21/2009, 3:05 PM |
|
Your right damian.
If I was him i would look and see if even though he has changed the 500 count value in the properties for the grid size to something smaller, if any common code has changed the value in the main page will not get set properly.
Wonder if he has looked at the code to actually see the number the navagator is really using for grid size? hint.hint.
I also kinda wonder what the giant not resolved at the top of this post is supposed to do..
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
codebang
Posts: 74
|
| Posted: 01/22/2009, 12:29 AM |
|
hello guys.....
First of all i would like to thank everybody who has really spent time in trying to solve my issue.
Secondly....im sorry about the giant not resolved...cause i really wanted ppl to see it and try to find a solution for my problem...
Guys im trying everything, but nothing seems to work.
I contacted Yessoftware and they asked to send over the project..do u guys thinks that this is sense. sending a whole project.
DO i have a problem with the version that i installed.
Im really starting to feel that Code charge is not stable.
Please help me out guys.
salah hafiz midat
|
 |
 |
JimmyCrackedCorn
Posts: 583
|
| Posted: 01/22/2009, 12:53 AM |
|
I'd recommend simplifying it down to the most basic project in which you still see the problem and then send that to YES. if that is not possible then sending the whole project would be good if they will accept that.
_________________
Walter Kempees...you are dearly missed. |
 |
 |
codebang
Posts: 74
|
| Posted: 01/22/2009, 12:58 AM |
|
okay.....
the navigator, does not work in my project.... but i just created a new project and the navigator was working fine.
Any ideas...
strange
|
 |
 |
damian
Posts: 838
|
| Posted: 01/22/2009, 3:53 AM |
|
create a new project with the same database settings etc
backup your broken database
copy all the common files from the new project to the broken one
or
recreate your project
or
send it to Yes like they asked
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 01/22/2009, 7:35 AM |
|
Hi
IF a new project from scratch works ok, that implies it's a problem with one of the common files since I think you said all pages fail with navigator.
One thing to try is after you have created a new project and set DB connections up and verify the new project works, copy one page from the broken project. ie: all 4 files for a single page from the broken project.
for exampe. a page in the broken project called xxx copy xxx.php, xxx.html., xxx_events.php, and xxx.ccp to the new project folder.
Now see if the broken page starts to work in the new project folder.
This will tell you if CCS has messed up the page files or a common file somewhere in the project.
If it works, that means you can fix the broken project by moving all the page files to the new project from the broken one.
Also, it is OK to send your project to Yes. I've had to do that several time before as if it is a CCS issue they will have all they need to troubleshoot and provode a fix for everyone.
Have fun
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
datadoit
|
| Posted: 01/22/2009, 11:55 AM |
|
Your problem may be solved with an update to the latest version also.
By doing the update, all of your common files will be regenerated, which
is where your problem lies.
|
|
|
 |
codebang
Posts: 74
|
| Posted: 01/23/2009, 1:19 AM |
|
thanks guys..
I really appreciate al the help.
the navigator was problem resolved by using jjrjr1 and datadoit.
I would like to thank the aforementioned and everyone who has conducted in this issue.
Salah Hafiz Midhat.
Schlumberger OverSeas.
Senior Software Consultant
|
 |
 |