Skip to content

Example 5 #2

@kklepper

Description

@kklepper

Thanks a lot, this is extremely helpful.

But some problems in Example 5: dynamic does not work.

How to see:

add

ini_set("display_errors", 1);

to public/index.php. You'll see why you didn't see anything: you have problems with mysql.

How to fix:

change @'%' to @'localhost' in dynamic.sql

DocumentRoot

DocumentRoot is not executed as given in dynamic-site.conf, so http://192.168.0.42/dynamic-site/ or http://myprecisebox/dynamic-site/ will show the directory structure of dynamic-site instead of dynamic-site/public/index.php

As a result, references to href in the html files fail. No idea how to fix this yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions