Hi Dan,

the "Notice: Undefined variable: c_unique in /usr/lib/php/head.php line 48" 
has nothing to do with Habari itself. I'm not good enough with the PHP 
source / the Apache webserver to figure out what it is exactly, but it is 
some kind of problem with your PHP installation. Habari is propably trying 
to use a PHP function that requires this part of PHP. I myself don't have a 
head.php on my system and can run Habari fine.

The "Base table or view not found" error happens due to some database 
problem. Habari should propably give you a better message... anyway, please 
tell us which database you are trying to use (SQLite, MySQL, PostgreSQL) 
and which Habari version and what kind of installation (Git repo or zip 
file).

For the first one, you might have to contact your hoster. I'm quite sure we 
can help you with the second one.

Am Dienstag, 17. Dezember 2013 05:00:50 UTC+1 schrieb Daniel Cefram Ramirez:
>
> I'm having trouble with my shared hosting at hosting24. I get this error 
> on every page, even the installation page:
>
> Notice: Undefined variable: c_unique in /usr/lib/php/head.php line 48
>
> I had to use htaccess to turn a blind eye on errors for me get past 
> through installation, or even get inside the admin panel. Plus, the session 
> at the admin panel is around 5mins (When I'm writing a blog post, the 
> session expires that I would be logged out of the admin panel upon clicking 
> Submit/Save)
>
> At my installation, I couldn't get the logic as to why upon "Check 
> Database Connect", would it try to access the supposedly "not yet created" 
> tables.
>
> I get this error (example):
>
> PHP Warning:  PDOStatement::execute() [<a 
> href='pdostatement.execute'>pdostatement.execute</a>]: SQLSTATE[42S02]: 
> Base table or view not found: 1146 Table 'databasename.log_types' doesn't 
> exist in /home/PATH_TO/public_html/system/classes/databaseconnection.php on 
> line 273
>
> This is upon clicking "Check Database Connect"... and you're now trying to 
> access Habari's tables?
>
> So I did a quick peek at the db_setup.php, installhandler.php, script.js, 
> and databaseconnection.php
>
> I figured out that upon clicking Check Database Connect, I would be 
> sending "check_mysql_credentials", that calls ajax_check_mysql_credentials, 
> which is located inside "act_begin_install". Well, act_begin_install, 
> installs the whole software right? -_-
>
> Anyways, after using .htaccess to hide the errors, I was able to install 
> the software, but I did not want to turn a blind eye on errors, so I 
> revoked the htaccess code.
>
> I'm still getting this error:
> Notice: Undefined variable: c_unique in /usr/lib/php/head.php line 48
>
> Why the heck does habari need to access that head thingy? My other 
> projects at the same web host does not throw up this error. (Shared host = 
> /usr/lib/php)
>
> Any help would be greatly applauded. Clap clap.
>
> Thanks,
> Dan
>

-- 
-- 
To post to this group, send email to habari-dev@googlegroups.com
To unsubscribe from this group, send email to 
habari-dev-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/habari-dev
--- 
You received this message because you are subscribed to the Google Groups 
"habari-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to habari-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to