Learn PHP: Basic CMS - Setting Up (Part 2/8)

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

excelent tutorial mate, in future i hope to see more in deep tutorials like this one. Have a nice day friend!
"Keep on hacking!" ;)

emanueliulian
Автор

Just wondering... What is the CMS client used in this video? Would like to find a good alternative to PHPMyAdmin for Mac. Thanks!

moodooguru
Автор

Hi, I'm new in PHP. Could anyone tell me why I've got this error?

on index.php
Parse error: syntax error, unexpected 'require' (T_REQUIRE) in on line 3

on start.php
Parse error: syntax error, unexpected 'ini_set' (T_STRING) in on line 3

on /admin
Internal Server Error

starsam
Автор

where is the app.css the link is not working

arslanniamat
Автор

I am using a paid domain, when i try to reach the admin page i get an 403 forbidden error

Forbidden

You don't have permission to access /sprint3/cms/admin/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

i am now at the fifth part of this series and everything is working except for the admin page. Can somebody help me?

DJDavidWidlak
Автор

Hey Alex, what is the MySQL client you are using, also it seems to be on MacOS, does it have a version for Linux also...

nileshkumar
Автор

my .htaccess auth didn't work I do the same as you do... .is there an apache configuration for that???

masthisis
Автор

I am having trouble with the AuthUserFile in .htaccess file. How are we meant to find out exactly what to put in is this the direct user directory that the file is in?

elizabethmuir
Автор

Amazing, thanks for share ur knowledge!

sebastianpalma
Автор

Hello,

I am getting error at start.php 

Code - 

<?php

ini_set('display_errors', 'On');
define('APP_ROOT', __DIR__);
//$db=mysql_connect('localhost', 'root', 'admin');
$db= new PDO("mysql:host=127.0.0.1;dbname=cms",  
"root", "admin");

?>


Error :- 
Parse error: syntax error, unexpected '$db' (T_VARIABLE) in on line 7


I tried another database connection also - 

$db=mysql_connect('localhost', 'root', 'admin');

still getting same error .

also tried by changing single quotes aswell double quote in parenthesis 

Help me.. 

Thanks

rahuldambare
Автор

Server error brothaa. Please give the solutions, I have research but I got same result

irsyadadl
Автор

Anyone else having Error 500 on apache?

chipp
Автор

So guys i solved the problem with the htaccess file and the error 500:
I first had the htpasswd file in C:/program files/ ... and it didnt work.
After i copied the htpasswd file in -> users/yourusername/ it worked perfectly fine. Of course you have to change in htacces to AuthUserFile /Users/yourusername/htpasswd . I hope it will help

OskarCeso
Автор

Can you use this MySQL app, also use for Windows?

steven
Автор

When I log into /admin, I get Server error 500 any ideas?

Psyphered
Автор

Anyone know a good database client for Windows?

elwindewitte
Автор

Where can we download the app.css file?

NathanBudd