Sunday, June 8, 2008

C.E.F. Complete Exhaustion & Frusturation

Between yesterday and today I've worked a total of 23 hours on PHP. Yesterday from 9:30am to 9pm I finished assign 5 and started assign 6.

Today from 12pm-12:30am I've been working on assign 6. I spent the first half dissecting your 'paging' word doc (both regular and 'fixed' version). I read and studied the code, trying to understand it, then updated the code to fit my pages. This also involved comparing the new versions of your 'list' and 'view' pages to my 'list' and 'view' pages -- so I could copy and paste the new info into my pages.

As I was comparing pages, some of our stuff didn't match in places that it shoud have. I realized that my includes are nested differently than yours. I've got both 'luggageview.php' and 'luggageviewINC.php' and although there originally was a reason for doing this, I can't remember what it was.

The problem arised when some of our code didn't match when it should have. I worked about two hours trying to re-do the whole assignment by taking it out of includes and put it on one php page, but continued to get this error message:

Error in file: '/home/.kidnapping/mcfoster/mfosterdesign.com/includes/pagerINC.php' on line: 79 Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.CategoryID' at line 1

I got this error after I placed it in a 'new' folder (it's the same except for last line)

Error in file: '/home/.kidnapping/mcfoster/mfosterdesign.com/itc280/new/includes/pagerINC.php' on line: 79 Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'b.CategoryID=c.CategoryID' at line 1

I think this may mean there is something in my utilINC php page, since it's connected to pagerINC php page but nothing stood out.

I'm so tired at this point I don't think I can concentrate further to troubleshoot.

No comments: