karthik
|
Posted: 01/08/2002, 12:18 AM |
|
I uploaded the employ directory/w templates to my remote server, after ensuring proper functioning in the local system. When i try to access the login.php file,
i get the following error:
Fatal error: Cannot instantiate non-existent class: template in /home/xxxvxxxxx/xxxxxxx-www/EmployeeDirectory/Login.php on line 74
for security reasons i masked the username and sitename.
Please suggest me a solution
|
|
|
Alex Alexapolsky
|
Posted: 01/08/2002, 2:13 AM |
|
This means template.php file was not found.
Delete all files from target directory and re-generate the site.
|
|
|
karthik
|
Posted: 01/08/2002, 11:29 PM |
|
Do I have to make any changes in the common.php file?
Should i make the changes in the $app_path initialisation, as i am runing this examples site in the remote server?
//===============================
// Site Initialization
//-------------------------------
// Obtain the path where this site is located on the server
//-------------------------------
$app_path = ".";
Does this path must be set with the ip address of the site in which i am running this file
Does this path must be set with the ip address of the site in which i am running these files?
Regards
|
|
|
ThomasR
|
Posted: 05/14/2003, 12:27 AM |
|
I use , in codecharge 2 , $app_path = getcwd () . But in studio I also run into problems when running Apache > 2 versions. Anybody out there with a better answear ?
|
|
|
|