Loading...
 
Architecture / Installation

Architecture / Installation


Need help - Smarty actin up

posts: 9

For the life of me I can't figure this out...someone help cry



Warning: _load_plugins(Smarty/plugins/outputfilter.trimwhitespace.php): failed to open stream: No such file or directory in /usr/home/pawan/public_html/tiki/Smarty/Smarty.class.php on line 2436

Warning: _load_plugins(): Failed opening 'Smarty/plugins/outputfilter.trimwhitespace.php' for inclusion (include_path='/usr/local/lib/php') in /usr/home/pawan/public_html/tiki/Smarty/Smarty.class.php on line 2436

Fatal error: Smarty error: plugin function smarty_outputfilter_trimwhitespace() not found in Smarty/plugins/outputfilter.trimwhitespace.php (Smarty.class.php, line 2440) in /usr/home/pawan/public_html/tiki/Smarty/Smarty.class.php on line 2594

posts: 2881 United Kingdom

Hi!

Looks to me like your include_path in your php.ini is setup incorrectly.

Can you confirm what you have it currently set to please?

Thanks

Damian


posts: 9

Hrm. I could have sworn I updated this message.
Well, I did finally figure out it was the include_path - got all that squared out and just as I thought I was ready to play around with Tiki, I ran into this error message. frown

Warning: MYSQL error: DB Error: no database selected in query:

select value from tiki_preferences where name='siteTitle'

in /usr/home/pawan/public_html/tiki/lib/tikilib.php on line 101


Please shed some light on this. I appreciate your help.

posts: 2881 United Kingdom

> poexone:
> Hrm. I could have sworn I updated this message.
> Well, I did finally figure out it was the include_path - got all that squared out and just as I thought I was ready to play around with Tiki, I ran into this error message. frown
>

>
Warning: MYSQL error: DB Error: no database selected in query:

> select value from tiki_preferences where name='siteTitle'

> in /usr/home/pawan/public_html/tiki/lib/tikilib.php on line 101

>
> Please shed some light on this. I appreciate your help.

Hiya,

Check the db/local.php for the database connection details. It its not correct or doesnt exist you need to run tiki-install.php

Damian

posts: 9

Hi again.

I double checked the database connection settings, and they are all correct. When I run tiki-install.php, the option to create a new database, upgrade or do nothing options are availble. I already have a database setup so I choose the "Do nothing and enter Tiki!" option, and that is when I get the error message.

The database I have setup is correct with the username and password.

When I choose the "Create Database from Scratch" option it gives me this error.

Warning: MYSQL error: DB Error: no database selected in query:

DROP TABLE IF EXISTS galaxia_activities;

in /usr/home/pawan/public_html/tiki/tiki-install.php on line 24



What am I doing wrong? :-(




> Hiya,
>
> Check the db/local.php for the database connection details. It its not correct or doesnt exist you need to run tiki-install.php
>
> Damian

posts: 2881 United Kingdom


Can you give me some details on the setup environment

There is a forum thread here somewhere that details about one OS needing a different setup in the my.cnf file.

Damian

posts: 9

I am installing on FreeBSD. My PHP and MySQL are all the current versions.

Is there anything else you need to know?



> Damian:
>
> Can you give me some details on the setup environment
>
> There is a forum thread here somewhere that details about one OS needing a different setup in the my.cnf file.
>
> Damian
>

posts: 2881 United Kingdom

> poexone:
> I am installing on FreeBSD. My PHP and MySQL are all the current versions.
>
> Is there anything else you need to know?
>
>
>

Ok, Lets take 5 to review before we go down the wrong avenue:

Is this 1.7.5, i think so from the path of Smarty in your original post?

a) I take it the paths are now sorted and correct
b) You have completed the tiki-install.php chosen the correct MySql version and entered good username,password and database names for the installer.
Run the Default Installation and clicked on Create.
Are there any errors in the bottom box on tiki-install.php when you run this?

posts: 2881 United Kingdom
If you can, join us on the irc://irc.freenode.net #tikiwiki and lets get you up and running! smile
posts: 9

ACtually...

I been idling there all morning/night eek
My nick is dizzle.
I will try to catch up with you on IRC after work.

I actually got the site to running!!! local.php is the devil evil
When I try to log in, I get this error confused

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/pawan/public_html/tiki/db/local.php:1) in /usr/home/pawan/public_html/tiki/tiki-login.php on line 130





> > Damian:
> > If you can, join us on the irc://irc.freenode.net #tikiwiki and lets get you up and running! smile
>
> http://tikiwiki.org/ConnectingToIrc will help you connect wink

posts: 2881 United Kingdom

Ah!
does it have any blank lines either top the ~np~


posts: 2881 United Kingdom

> poexone:
> Hrm. I could have sworn I updated this message.
> Well, I did finally figure out it was the include_path - got all that squared out and just as I thought I was ready to play around with Tiki, I ran into this error message. frown
>

>
Warning: MYSQL error: DB Error: no database selected in query:

> select value from tiki_preferences where name='siteTitle'

> in /usr/home/pawan/public_html/tiki/lib/tikilib.php on line 101

>
> Please shed some light on this. I appreciate your help.

Hiya,

Check the db/local.php for the database connection details. It its not correct or doesnt exist you need to run tiki-install.php

Damian

posts: 9

Hi again.

I double checked the database connection settings, and they are all correct. When I run tiki-install.php, the option to create a new database, upgrade or do nothing options are availble. I already have a database setup so I choose the "Do nothing and enter Tiki!" option, and that is when I get the error message.

The database I have setup is correct with the username and password.

When I choose the "Create Database from Scratch" option it gives me this error.

Warning: MYSQL error: DB Error: no database selected in query:

DROP TABLE IF EXISTS galaxia_activities;

in /usr/home/pawan/public_html/tiki/tiki-install.php on line 24



What am I doing wrong? :-(




> Hiya,
>
> Check the db/local.php for the database connection details. It its not correct or doesnt exist you need to run tiki-install.php
>
> Damian

posts: 2881 United Kingdom


Can you give me some details on the setup environment

There is a forum thread here somewhere that details about one OS needing a different setup in the my.cnf file.

Damian

posts: 9

I am installing on FreeBSD. My PHP and MySQL are all the current versions.

Is there anything else you need to know?



> Damian:
>
> Can you give me some details on the setup environment
>
> There is a forum thread here somewhere that details about one OS needing a different setup in the my.cnf file.
>
> Damian
>

posts: 2881 United Kingdom

> poexone:
> I am installing on FreeBSD. My PHP and MySQL are all the current versions.
>
> Is there anything else you need to know?
>
>
>

Ok, Lets take 5 to review before we go down the wrong avenue:

Is this 1.7.5, i think so from the path of Smarty in your original post?

a) I take it the paths are now sorted and correct
b) You have completed the tiki-install.php chosen the correct MySql version and entered good username,password and database names for the installer.
Run the Default Installation and clicked on Create.
Are there any errors in the bottom box on tiki-install.php when you run this?

posts: 2881 United Kingdom
If you can, join us on the irc://irc.freenode.net #tikiwiki and lets get you up and running! smile
posts: 9

ACtually...

I been idling there all morning/night eek
My nick is dizzle.
I will try to catch up with you on IRC after work.

I actually got the site to running!!! local.php is the devil evil
When I try to log in, I get this error confused

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/pawan/public_html/tiki/db/local.php:1) in /usr/home/pawan/public_html/tiki/tiki-login.php on line 130





> > Damian:
> > If you can, join us on the irc://irc.freenode.net #tikiwiki and lets get you up and running! smile
>
> http://tikiwiki.org/ConnectingToIrc will help you connect wink

posts: 2881 United Kingdom

Ah!
does it have any blank lines either top the ~np~


Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.