[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
SIMPLECommunity.org • View topic - Installation error

Installation error

Any technical questions (installation, configuration etc) should be posted here!

Installation error

Postby Liz on Wed Jan 07, 2009 9:26 am

Hi,

I'm getting this error while installing SIMPLE to my webserver root. All is well up to this point.
The webserver is IIS. PHP and MySQL are running and Pear and MDB2_Driver_mysql installed Ok. Any advice appreciated.

"Creating readitems Primary Key...ok
Creating super user account
Phew! Completedunable to create ../LocalSettings.phpPHP Warning: fopen(../LocalSettings.php) [function.fopen]: failed to open stream: Permission denied in D:\facultyj\simple\installer\index.php on line 237 "

Rgds,
Liz
Liz
 

Re: Installation error

Postby mhughes2k on Thu Jan 08, 2009 4:32 am

It looks like the "simple" directory doesn't have the correct permissions for IIS to create a file in it.

You'll need to configure the security permissions to allow IIS to create files in the "simple" directory so that it can generate the LocalSettings.php file.

Hope this helps!

M
Hope this helps.

M!

Application Developer, LTDU
SIMPLE Project Core Team
(w) http://personal.strath.ac.uk/michaelhughes/
(e) michaelhughes@strath.ac.uk
(twitter): http://twitter.com/mhughes2k
mhughes2k
SIMPLE Core Team
 
Posts: 130
Joined: Tue Jul 01, 2008 12:05 pm
Location: Glasgow

Re: Installation error

Postby Liz on Thu Jan 08, 2009 8:15 am

Thanks very much for the advice. I have now run the full install but when I try to connect to
<h1>Site Information</h1>
<p>SIMPLE is now configured.</p>
<p>You should really now remove the <code>installer</code> directory.</p>
<p><A href="http://facultyj.hs.plym.ac.uk/simple/index.php">Click here to go to your site.</a></p>

I get the following..............


PHP Warning: Smarty::include(templates_c\%%7A^7A8^7A8BA0FC%%Homepage.php.tpl.php) [smarty.include]: failed to open stream: No such file or directory in D:\facultyj\simple\include\smarty\Smarty.class.php on line 1265 PHP Warning: Smarty::include() [function.include]: Failed opening 'templates_c\%%7A^7A8^7A8BA0FC%%Homepage.php.tpl.php' for inclusion (include_path='.;C:\Program Files\PHP\pear') in D:\facultyj\simple\include\smarty\Smarty.class.php on line 1265 PHP Warning: Smarty::include(templates_c\%%00^00A^00AEFBD6%%TleUi.php.tpl.php) [smarty.include]: failed to open stream: No such file or directory in D:\facultyj\simple\include\smarty\Smarty.class.php on line 1258 PHP Warning: Smarty::include() [function.include]: Failed opening 'templates_c\%%00^00A^00AEFBD6%%TleUi.php.tpl.php' for inclusion (include_path='.;C:\Program Files\PHP\pear') in D:\facultyj\simple\include\smarty\Smarty.class.php on line 1258

Should I change the include path?

Rgds,
Liz
Liz
 

Re: Installation error

Postby mhughes2k on Thu Jan 08, 2009 11:07 am

Hmm... you shouldn't need to modify the include path, it should use directories relative to the install dir.

Could you upload your LocalSettings.php file?
Hope this helps.

M!

Application Developer, LTDU
SIMPLE Project Core Team
(w) http://personal.strath.ac.uk/michaelhughes/
(e) michaelhughes@strath.ac.uk
(twitter): http://twitter.com/mhughes2k
mhughes2k
SIMPLE Core Team
 
Posts: 130
Joined: Tue Jul 01, 2008 12:05 pm
Location: Glasgow

Re: Installation error

Postby Liz on Thu Jan 08, 2009 12:09 pm

This is it...

<?php //See <helpurl>
$config[PLATFORM_NAME] ='simple';
$config[DATABASE_TYPE] = 'mysql';
$config[DATABASE_HOST] = 'localhost';
$config[DATABASE_PORT] = '3306';
$config[DATABASE_NAME] = 'SIMPLE_DB';
$config[DATABASE_USERNAME] = 'root';
$config[DATABASE_PASSWORD] = '********';
$config['home'] = 'http://facultyj.hs.plym.ac.uk/simple/';
$config['recordMetrics'] = true;
$config['salt'] ='I am a shaggy dog story';
$config['siteFooter'] = '&copy; 2006-7 <a href="http://technologies.law.strath.ac.uk/">Legal Education Technologies Lab</a>, Part of the Law School, University of Strathclyde';
$config['radiusServer']=array('');
$config['radiusSecret']='';
$config['newsfeeds']=array();
$config['listPageSize']=10;
$config['installDir']=''; ?>
Liz
 

Re: Installation error

Postby mhughes2k on Fri Jan 09, 2009 5:58 am

Hope this helps.

M!

Application Developer, LTDU
SIMPLE Project Core Team
(w) http://personal.strath.ac.uk/michaelhughes/
(e) michaelhughes@strath.ac.uk
(twitter): http://twitter.com/mhughes2k
mhughes2k
SIMPLE Core Team
 
Posts: 130
Joined: Tue Jul 01, 2008 12:05 pm
Location: Glasgow

Re: Installation error

Postby Liz on Fri Jan 09, 2009 7:11 am

Hi,

Thanks for that. I've updated and now I get this error in the browser

...........
PHP Warning: Smarty error: unable to read resource: "Homepage.php.tpl" in D:\facultyj\simple\include\smarty\Smarty.class.php on line 1095 PHP Warning: Smarty error: unable to read resource: "TleUi.php.tpl" in D:\facultyj\simple\include\smarty\Smarty.class.php on line 1095

Web anonymous reader has read rights on the templates and smarty dirs

Liz
Liz
 

Re: Installation error

Postby mhughes2k on Fri Jan 09, 2009 10:09 am

Is that the full output for the page?
Hope this helps.

M!

Application Developer, LTDU
SIMPLE Project Core Team
(w) http://personal.strath.ac.uk/michaelhughes/
(e) michaelhughes@strath.ac.uk
(twitter): http://twitter.com/mhughes2k
mhughes2k
SIMPLE Core Team
 
Posts: 130
Joined: Tue Jul 01, 2008 12:05 pm
Location: Glasgow

Re: Installation error

Postby mhughes2k on Fri Jan 09, 2009 10:15 am

Hope this helps.

M!

Application Developer, LTDU
SIMPLE Project Core Team
(w) http://personal.strath.ac.uk/michaelhughes/
(e) michaelhughes@strath.ac.uk
(twitter): http://twitter.com/mhughes2k
mhughes2k
SIMPLE Core Team
 
Posts: 130
Joined: Tue Jul 01, 2008 12:05 pm
Location: Glasgow

Re: Installation error

Postby Liz on Fri Jan 09, 2009 11:41 am

Hi,

Yes that was the full message in the browser window. I've now put d:\facultyj\simple\
and get this...

PHP Warning: Unexpected character in input: ''' (ASCII=39) state=1 in D:\facultyj\simple\LocalSettings.php on line 16 PHP Parse error: syntax error, unexpected ':' in D:\facultyj\simple\LocalSettings.php on line 16

Looks like syntax but can't find a workaround we tried d:\\facultyj\simple\ but it still doesn't work. Do you have any suggestions?

Rgds,
Liz
Liz
 

Next

Return to Technical

Who is online

Users browsing this forum: No registered users and 4 guests

cron