thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Video 44 #119

Closed RosemaryRoss closed 9 years ago

RosemaryRoss commented 9 years ago

First, let me thank you for creating a great tutorial. I have gotten stuck on video 44, in that the code that DID work, is no longer working. The page would update, but not add a new page. I watched #44 so many times I think I can recite it verbatium, however....I've "redone" the code so many times that I'm just beyond confused and I feel I've messed the code up so bad that I don't know where I'm at in the code. Can anybody please show me the code that WORKS so I can move on. (I've gone back and redone my entire learning site three times already, I just don't have it in me to do it again from scratch.)

Thanks for any help given.

Rosemary

RosemaryRoss commented 9 years ago

Oh, I hate to say this. I’m too much of a newbie to understand what you just suggested.

I’ve decided to move forward with the videos, and now I have a bigger problem. I did everything through video 48, and now the front end doesn’t show up at all. Nothing. Nada. No page.

Back to the drawing board.

Rosemary

From: creptor [mailto:notifications@github.com] Sent: Thursday, May 07, 2015 4:52 PM To: thedigicraft/Atom.CMS Cc: Rose Subject: Re: [Atom.CMS] Video 44 (#119)

have you tried to input what you get (echoing the $q) into the phpmyadmin with sql method.... this gives and detailed error. Or at least i can understand them.(sometime I do this to find query errors)

— Reply to this email directly or view it on GitHub https://github.com/thedigicraft/Atom.CMS/issues/119#issuecomment-100015441 . https://github.com/notifications/beacon/ALeh6IZr34urXRrxp9QMOiyAhTWFw6SHks5oG8fsgaJpZM4EEV0X.gif

creptor commented 9 years ago

if you wish to move on from this thread just leave it or close it... If you need more help in something diferent please create a new issue.(this one is kind of long)

RosemaryRoss commented 9 years ago

Good idea. I thank you and JasonMate for your help. I appreciate it much. :-) +1:

gautam03 commented 9 years ago

Hey i just removed the isset function. like this: if(($_POST['id'])!=='') and now both the queries are working fine. But i don't know how. Please someone tell me how this is working? or is it necessary to use isset for any reason?

RosemaryRoss commented 9 years ago

gautam03, count your blessings then. Making that change didn't work for me. I just scraped AtomCMS and started AtomCMS2. I discovered I was using the OLD tutorials and now am using the current ones. I still am making my share of stupid mistakes, but I'm trying to learn this .php "stuff".