thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

video pt 24 #183

Open rowdylll3 opened 8 years ago

rowdylll3 commented 8 years ago

the problem i'm having is its not recognizing the D_TEMPLATEs both of them please help thnx.

<?php

Database Connection:

include('../Config/connection.php'); ?> <!doctype html>

<?php echo $page['title'].' | '.$site_title; ?>

Login

creptor commented 8 years ago

try adding to the very top of your document this: error_reporting(-1); (inside of PHP brackets). That will output any errors found in your code.

rowdylll3 commented 8 years ago

sorry my dude it does not work! here look at this: <?php include('Config/setup.php');

?>

<!doctype html>

<?php echo $page['title'].' | '.$site_title; ?>

this is what its saying, however, there are no syntax errors, its showing on the browser. i have followed, checked and doubled- checked but to no avail, please help my dude!

creptor commented 8 years ago

add it to the top of your file, like this...

<?php
error_reporting(-1); 
include('Config/setup.php');
?>

If an error exists, it will throw an exception on the html (when being looked in a browser).

rowdylll3 commented 8 years ago

ok my dude im on it please stand by, im new to this, i found u guys recently and i pray that u can help me my dude. i produce music and to get a feel of who i am and why this is important to me please chk out this page and sub me too as i have u guys thnx! chk me out YouTube.com/rowdylll3

rowdylll3 commented 8 years ago

bro its got to do with the D_TEMPLATE when i put it in its bad do i have to have it cos ion know what the problem is if i'm following thoroughly even tho its a few years back but i think it still works fine the programs and all. i am using Dreamweaver on a Wamp server(temp) does it make a difference? please help!

creptor commented 8 years ago

First i'll clarify what is this repository for.... -> The Atom.CMS should be used for learning the basic use of PHP ad HTML, and to understand the basic functionality of a CMS, but it's not intended for real web applications. (it's very outdated)

If you still would like to make a website out of this, you should look for this extra information:

If you wish to use another CMS, for ease of use, then you should look out for Joomla, Wordpress or Drupal.


If you still want to use this CMS, then you need to post the setup.php, so I can find out what's the error.


I'm sorry if this was too much, but I'm just willing to help new people and not confuse them even more. (Programming is not for everyone, but you can still learn :3 )

rowdylll3 commented 8 years ago

hey bro thank you very much for clarifying some things. however yes this is for a real website and if you have anything on creating a "REAL" website i am all in to learn. i apologize that i am unable to quickly learn this stuff( i.e incarceration) but what i do have is a shit load of music to let the world and yourself hear, i have not the patience of creating an example website just to be creating. i have my own everything, i refuse to let any hosting company do something for payment that i myself can learn to do. if i could just get you to understand that what i am creating is for real not fake, just direct me to what i need and how to do it if its ok with you my friend. thnx

rowdylll3 commented 8 years ago

oh an im starting everything over again to see if i myself may have screwed up so i will get back with you for more details and help ok? thnx!

JasonMate commented 8 years ago

Hey rowdy,

Creptor has a great point about atom.cms being more for learning basic php. Even after you finish the series, there is still a long road to get all the functionality and security you will need for a production website. It sounds like your main passion is music and you need a website set up sooner than later?

I would strongly suggest Wordpress. Most hosting companies have an automatic Wordpress install built in and you will not have to spend countless hours building everything from scratch. Also there is plugins for just about any feature or functionality you will ever need for a musician's portfolio.

I am only suggesting this because you said "i have not the patience of creating an example website just to be creating". On the other hand if you are serious about learning php then this is a great place to start.

If your hosting has a c-panel then you most likely have a script installer where you can set up Wordpress. If not you can set it up manually. It's easy to use once you get used to it and will let you focus more on design rather than coding and logic.

https://wordpress.org/

regards, Jason m

On 1 May 2016 at 14:43, rowdylll3 notifications@github.com wrote:

oh an im starting everything over again to see if i myself may have screwed up so i will get back with you for more details and help ok? thnx!

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/thedigicraft/Atom.CMS/issues/183#issuecomment-216070790

creptor commented 8 years ago

If you have any problems just post your setup.php file, and the files that have the error. (please use http://pastebin.com/)

For error troubleshooting see this article.

rowdylll3 commented 8 years ago

ok and thnx jason but as i said before i am creating a real website and im in no hurry to mess up i figured the road will be extended but if its to ensure the best then i can do it. these learning tutorials has opened my eyes to alot and i thank whomever you guys are for these learning classes, i will be in tuned!