Fatal error: Class 'Page' not found in MAMP/htdocs/trevorpan/gallery/code/GalleryPage.php on line 3

Hi DorsetDigital,

Thank you for the tips.

Do you generally put a underscore like this … “_Gallery” to make the folder inaccessible while you update the rest of the code? I tried this and a lot of errors occurred.

`Warning : require_once(/Applications/MAMP/htdocs/trevorpan/gallery/_config.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/trevorpan/framework/core/manifest/ClassLoader.php on line 57

Fatal error : require_once(): Failed opening required ‘/Applications/MAMP/htdocs/trevorpan/gallery/_config.php’ (include_path=’.:/Applications/MAMP/htdocs/trevorpan/framework:/Applications/MAMP/htdocs/trevorpan/framework/parsers:/Applications/MAMP/htdocs/trevorpan/framework/thirdparty:.:/usr/local/pear/lib/php:/Applications/MAMP/bin/php/php7.1.12/lib/php’) in /Applications/MAMP/htdocs/trevorpan/framework/core/manifest/ClassLoader.php on line 57`

If you know of a guide on this I can check out please share, I know alot of my questions are pretty basic. Trying get started in developing.

Best regards,
Trevor