| Pages: [1] |
|
|
Author |
Topic: Install Problems (Read 391 times) |
|
achiew
Posts: 2
|
First off, I should say that I've RTFM, this forum and played around for a few hours now.
I had SnippetMaster working fine on my local web server (Windows). However, now when I try to run it from a remote web server (Linux) I can't get it working.
The details:
[The error when trying to run SnippetMaster]
SnippetMaster v1.0 ERROR
The template named "/CMS/templates/login.html" does not exist
FUNC: useTemplate().
[My config file]
$PATH = "/public_html/CMS";
$ROOT = "/public_html";
$PREVIEW = "/public_html/CMS/";
$URL = "/public_html/";
I should note that I've tried MANY combinations and permutations for these four variables, all to no avail.
I've also tried putting in the full URL, as suggested somewhere.
If someone could shed some light, it would be much appreciated.
|
|
|
|
|
admin
Forum Administrator

Posts: 1430
SnippetMaster Author
|
The PREVIEW and URL values must be full URL's. PM me with the URL to your installation and I'll try to help you out.
Cheers!
|
|
|
|
|
|
achiew
Posts: 2
|
The PREVIEW and URL values must be full URL's. PM me with the URL to your installation and I'll try to help you out.
Cheers!
Thanks, Henri,
As I said, I've tried full URLs to no avail. I've managed to get it working with the following values:
$PATH = "../CMS";
$ROOT = "../stories";
$PREVIEW = "";
$URL = "";
Cheers.
P.S. I've written a small piece of PHP code to add new pages. Basically, it copies a "template" file with <snippet> tags included and chmods the file to allow write access. Simple and sweet!
Keep up the good work, Mr. Straforelli!
|
|
|
|
|
|
|
Pages: [1]
|
|
|
|