Tuesday, April 7, 2009

fhjdskhfdskjlfdjskl;fjklds

Monday, June 9, 2008

Categories

Bill, I worked in class on Categories and wasn't able to figure out error. When you took a look, we commented out the paging stuff in luggagelist.php and then the categories worked. So you said to move on and not worry about paging at this point, since you saw it work originally (before Categories insert). So this motto of yours I will follow (until I "forget" again), get it to work enough, then make it work better later.

More CEF

Spent from noon-3pm re-doing List/View, Pager and Categories assignments with no design and separate from template to see if they would work on their own. List/Veiw and Pager worked (as it did before), but Categories did not, it came up with this error:

Error in file: '/home/.kidnapping/mcfoster/mfosterdesign.com/itc280/do-over/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 'asc' at line 1


I inserted only the yellow highlighted sections into List/View from Categories assignment (word doc), so I thought maybe the problem was thtat I missed something in the conversion. So I did a whole new List/View according to Categories code, but the error remained.


Then I tried to change the 'from' pager fix back to original and that didn't make difference, so I changed it back.


Then I shut down my computer, restarted and reconnected to WinSCP and transferred files once again and that didn't change anything. Then I looked in Dreamhost Panel for any option settings that might be affecting the 'asc' syntax, but I wasn't sure what I was really looking for -- so I didn't find anything.


Now I'll just wait to talk with you, Bill. I've got my old albeit working List/View/Pager/Categories assignments (that are inserted into my design template) uploaded as well as my List/View/Pager/Categories assignment that is separate from my design template uploaded for your viewing pleasure.

See you in class.

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.

Saturday, June 7, 2008

A4-5

Bill,
I had problems getting the "View" part of assignment 4 into my template and then you helped me in lab -- it took you about 2 minutes to determine a better way to set up my file structure and includes.

Today I've spent six hours working on the Paging assignment and finally got it to work. It should of been done in about one to two hours, but there was something wrong with my WinSCP. When I tried to upload, the usual pop-up screen saying 'Do you want to overwrite?' didn't appear, but the time and date of document created changed. I assumed it was uploading because the time/date were updating.

So I thought it might help if I looked at your paging document again, matching it against mine but I didn't see any mistakes. Then I thought I needed to add some more images to my SQL table because I only had six images, but that didn't make a difference.

So I shut down my and re-connected my WinSCP but that didn't work. Then I re-started my computer and I couldn't get a connection to the Wi-fi internet. Next I did a complete shut down again and turned on computer again. Then lo' and behold my paging assignment was fixed -- I didn't even have to upload it. I'm not sure what even happened, maybe it was the internet connection. Now I'm ready to move on to Assignment 6, finally!

Monday, June 2, 2008

Assignment #3 is done

I worked 7 hours on Saturday and 8 hours on Sunday trying to get the dynamically generated links to work with my divs and css style sheet and now they do! I also spent some of that time on the list/view assign. I posted assign 3-4 but I haven't fully integrated the 'view' part of assign 4.

Since this assignment took so long, I don't think it's realistic to integrate the design requirements of User Interface with the PHP final project requirements.

Hopefully I can get caught up here soon.

Saturday, May 31, 2008

Assignment 3 - the neverending saga

I spent 5 hours last weekend working on the includes for Assignment 3 and got them to work, finally! Unfortunately a few days later, I realized that I had forgotten that the assignment calls for dynamically generated links, crap!

Today, I spent about 8 hours re-doing naming conventions, reworking file structure, updating Site Plan and Page Description, and barely starting the dynamically generated links.

I'm trying to integrate this site with the User Interface class and it's been challenging to meet both the database and the design requirements. I'd like to use this site as a portfolio piece because a quality-made PHP site would diversify my portfolio (that sounds too financial investmenty) and increase my chances of a better job.

With this in mind, I'm wondering if it makes sense to try and get an Incomplete in the class. I'd like to have more time to finish the project (preferably until end of summer quarter so I can sit in on ITC 280 again), but I don't know how realistic that is for my summer quarter schedule.