Problems after installation
Problems after installation
Hi I´m trying to install phpwcms_1.2.5-DEV at my home machine where I´m using: Windows xp, PHP Version 4.3.10, MySQL 4.1.9 , Apache 1.3.33
I followed the Installation guide and everything went fine. But when I try to run the system on (http://localhost/phpwcms/) I get:
Notice: Undefined index: layout in c:\phpwcms\include\inc_front\content.func.inc.php on line 159
Notice: Undefined index: errortext in c:\phpwcms\include\inc_front\content.func.inc.php on line 278
Notice: Undefined index: maintext in c:\phpwcms\include\inc_front\content.func.inc.php on line 284
Notice: Undefined index: headertext in c:\phpwcms\include\inc_front\content.func.inc.php on line 301
Notice: Undefined index: lefttext in c:\phpwcms\include\inc_front\content.func.inc.php on line 307
Notice: Undefined index: righttext in c:\phpwcms\include\inc_front\content.func.inc.php on line 307
Notice: Undefined index: footertext in c:\phpwcms\include\inc_front\content.func.inc.php on line 313
Notice: Undefined index: htmlhead in c:\phpwcms\include\inc_front\content.func.inc.php on line 584
Notice: Undefined index: jsonload in c:\phpwcms\include\inc_front\content.func.inc.php on line 630
Notice: Undefined index: css in c:\phpwcms\index.php on line 164
I noticed that in the manual it says to put the finished configuration file into "include/inc_conf" but there is no such a folder named:
inc_conf on the phpwcms version (phpwcms_1.2.5-DEV) that I´m trying to install.
I don´t believe it would have made a difference but I don´t have the Image/Magick or GhostScript installed either.
After the installation process the only thing I did was to:
place the file ./setup/setup.conf.inc.php in ./config/phpwcms Renamed the default conf.inc.php — then renamed setup.conf.inc.php to conf.inc.php.
And deleated the setup dir.
I get the login page (http://localhost/phpwcms/login.php) fine but when I try to log in I get the HTTP 404 error.
Can someone tell me what could be happening? Thanks
I followed the Installation guide and everything went fine. But when I try to run the system on (http://localhost/phpwcms/) I get:
Notice: Undefined index: layout in c:\phpwcms\include\inc_front\content.func.inc.php on line 159
Notice: Undefined index: errortext in c:\phpwcms\include\inc_front\content.func.inc.php on line 278
Notice: Undefined index: maintext in c:\phpwcms\include\inc_front\content.func.inc.php on line 284
Notice: Undefined index: headertext in c:\phpwcms\include\inc_front\content.func.inc.php on line 301
Notice: Undefined index: lefttext in c:\phpwcms\include\inc_front\content.func.inc.php on line 307
Notice: Undefined index: righttext in c:\phpwcms\include\inc_front\content.func.inc.php on line 307
Notice: Undefined index: footertext in c:\phpwcms\include\inc_front\content.func.inc.php on line 313
Notice: Undefined index: htmlhead in c:\phpwcms\include\inc_front\content.func.inc.php on line 584
Notice: Undefined index: jsonload in c:\phpwcms\include\inc_front\content.func.inc.php on line 630
Notice: Undefined index: css in c:\phpwcms\index.php on line 164
I noticed that in the manual it says to put the finished configuration file into "include/inc_conf" but there is no such a folder named:
inc_conf on the phpwcms version (phpwcms_1.2.5-DEV) that I´m trying to install.
I don´t believe it would have made a difference but I don´t have the Image/Magick or GhostScript installed either.
After the installation process the only thing I did was to:
place the file ./setup/setup.conf.inc.php in ./config/phpwcms Renamed the default conf.inc.php — then renamed setup.conf.inc.php to conf.inc.php.
And deleated the setup dir.
I get the login page (http://localhost/phpwcms/login.php) fine but when I try to log in I get the HTTP 404 error.
Can someone tell me what could be happening? Thanks
Hello
You see : c:\phpwcms\include\inc_front\content.func.inc.php
should be htdocs/phpwcms/include/inc_front ....
problem with the apache config.
My personal tip: xampp by http://apachefriends.org
or
read apache manual
Jürgen
You see : c:\phpwcms\include\inc_front\content.func.inc.php
should be htdocs/phpwcms/include/inc_front ....
problem with the apache config.
My personal tip: xampp by http://apachefriends.org
or
Jürgen
I had never such a problem with my local webserver. I use the xampp with the windows installation.
WWW: http://www.apachefriends.org/en/xampp.html
Greez Marko
WWW: http://www.apachefriends.org/en/xampp.html
Greez Marko
You should not take life too seriously,
or you will not even get out of it alive!
or you will not even get out of it alive!
hmmmm ... there is something said in your fav. installation easyphp:
In order for your scripts to be executed, you must place your files in the "www" directory. The Apache server is configured to automatically open an index file when you enter the address 'http://localhost/' (Apache must have been started). This page is the default start page, it's the proof that EasyPHP is running. You are advised to create a directory for each project inside the "www" directory; so you can easily manage all of your developments.
----
as in your manor: www\phpwcms\
make sure to rerun setup after copying new installation material
hmmm ?
Jürgen
In order for your scripts to be executed, you must place your files in the "www" directory. The Apache server is configured to automatically open an index file when you enter the address 'http://localhost/' (Apache must have been started). This page is the default start page, it's the proof that EasyPHP is running. You are advised to create a directory for each project inside the "www" directory; so you can easily manage all of your developments.
----
as in your manor: www\phpwcms\
make sure to rerun setup after copying new installation material
hmmm ?
Jürgen
Here is the content of my config.inc.php
//////////////////////////////////
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "";
$phpwcms["db_pass"] = "";
$phpwcms["db_table"] = "phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://localhost/www/phpwcms";
$phpwcms["admin_email"] = "";
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "phpwcms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 2; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 0; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"] = 0; //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"] = ''; //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"] = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'info@localhost'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'webmaster'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT'] = 'c:/webprojects/www';
?>
////////////////////////////
I´m using the path: http://localhost/phpwcms/ where c:/webprojects/www is my server root. The http://localhost/ url is fine, it acctually runs an index.php file that I have there.
But I´m still getting the same error on: http://localhost/phpwcms/
Notice: Undefined index: layout in c:\webprojects\www\phpwcms\include\inc_front\content.func.inc.php on line 159
Notice: Undefined index: errortext in c:\webprojects\www\phpwcms\include\inc_front\content.func.inc.php on line 278
.
.
.
.
//////////////////////////////////
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "";
$phpwcms["db_pass"] = "";
$phpwcms["db_table"] = "phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://localhost/www/phpwcms";
$phpwcms["admin_email"] = "";
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "phpwcms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 2; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 0; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"] = 0; //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"] = ''; //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"] = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'info@localhost'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'webmaster'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT'] = 'c:/webprojects/www';
?>
////////////////////////////
I´m using the path: http://localhost/phpwcms/ where c:/webprojects/www is my server root. The http://localhost/ url is fine, it acctually runs an index.php file that I have there.
But I´m still getting the same error on: http://localhost/phpwcms/
Notice: Undefined index: layout in c:\webprojects\www\phpwcms\include\inc_front\content.func.inc.php on line 159
Notice: Undefined index: errortext in c:\webprojects\www\phpwcms\include\inc_front\content.func.inc.php on line 278
.
.
.
.
Hi
if Login is working? just create a simple Template and the Notices will gone. Or set the Error-Reporting-Level in your php.ini like this
if Login is working? just create a simple Template and the Notices will gone. Or set the Error-Reporting-Level in your php.ini like this
this is just a Notice that there is no Layout etc in your phpWCMS-System - and this is true if you haven't create a Template and at least one Article.error_reporting = E_ALL & ~E_NOTICE
This does not look right. Should be something like this:Marlon_Br wrote: // site values
$phpwcms["site"] = "http://localhost/www/phpwcms";
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "phpwcms"; //default: ""
Code: Select all
// site values
$phpwcms["site"] = "http://localhost/";
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "phpwcms"; //default: ""Ok my error_reporting variable on php.ini was already set to that value: E_ALL & ~E_NOTICE I also tried changing the value of $phpwcms["site"] to "http://localhost/" and "http://localhost/phpwcms"
and still got the same error. About my login page on http://localhost/phpwcms/login.php
The page renders fine, if I enter the wrong pass or user name I get a message in red saying:
Error during the start of the session.
BUT if I enter the correct user and password I still get the: HTTP 404 error.
Now, about creating a simple Template, I want to give it a try, (at this point I´m trying anything) but how do I go about doing that? Whre do I get it? The installaton guide never mention anything about creating a template to make the system work.
and still got the same error. About my login page on http://localhost/phpwcms/login.php
The page renders fine, if I enter the wrong pass or user name I get a message in red saying:
Error during the start of the session.
BUT if I enter the correct user and password I still get the: HTTP 404 error.
Now, about creating a simple Template, I want to give it a try, (at this point I´m trying anything) but how do I go about doing that? Whre do I get it? The installaton guide never mention anything about creating a template to make the system work.