Install does not work. Followed advice in manual

10 posts / 0 new
Last post
fishcop's picture
Install does not work. Followed advice in manual

I recently bought NewsCenter and I have not been able to get it to work yet.

I started off trying to install it on top of my Drupal but soon understood that was the wrong thing to do.
So I am installing it now off of an empty site. I have provisioned the database.

If I do an install of the latest version of Drupal, everything works right away with no problems.
I then whipe db and drupal off the machine and start the news center install.
I go through the install, input db information, the last page asks for username and password
and that one takes a while to complete but eventually does

I have tried some of the fixes I found such as

ini_set('max_execution_time', 560);
ini_set('max_input_time', 60);
ini_set('memory_limit', '256M');

but nothing helps.

I can re-install current drupal with no issues, over and over again
but I cannot get the newscenter version to install.
(and yes I whipe the db everytime I try to reinstall)

I am hosting this on where I have other drupal sites running as well.

The website encountered an unexpected error. Please try again later.
Uncaught exception thrown in session handler.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'newsnormalizerdrupaldb.sessions' doesn't exist: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => BJ-kyCW0x2bKrSGBkjJ0LXEsnWvrhOAgjzfnt1ija6o [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of /home/newsnormalizeruser/ ).

Is there a way to manually populate the database?

What else should I try?

ragzor's picture


in some cases the execution(basically extraction of the database) is not complete and the php times out:-

The most important step. Increase PHP.ini timeouts: For doing it, look for the php.ini file that rules your server. Once there, "search" for line where "max_execution_time" variable appears. 900 would be a better value.

max_execution_time = 900

But since you have tried to change it:-

a lot of times simply uninstalling and trying again can fix bugs like this. It's possible that there was something wrong with the installation of maybe you gave it some incorrect information.

here is one of Jorge's solution

The theme installs a sql backup during the "profile" set up that sets
everything up. It's a little big backup that might take some time
importing the tables, so I recommend you to do one of the following

Increase your PHP.ini parametters so it doesn't cut the import script
execution time:

1 - Increase the "max_execution_time" value to, at least, "90" seconds.

2 - Increase the "memory_limit" value to, at least, "256M" MegaBytes.

3 - Repeat the installation process.

These parameters will allow you to do it. The PHP.ini file location
depends on the server you're using (MAMP, WAMP, XAMP, Appserv...)

Please Reply If it still does not work

fishcop's picture
Still does not work

Hi there,
I have attempted to uninstall and reinstalled newscenter drupal many times over 3 days.
It still does not work.

As stated above I have already set the max_execution_time, memory_limit and it has not helped.

fishcop's picture
I managed to fix it

I am disappointed with the support offered.

I managed to fix this, by installing news center on a local pc, grabbing the database
manually exporting it and then manually importing it at the production site.

parvinder's picture
same thing

i try the same way you do my frinend ...but i dont understand how you do it manually...i need help in cardelaer theme...always stuck at 6 th step configure site and never see the finish part..and i dont know what is the size of cardealers database...and how to do it manually...when i buy this i think it come with everything in one packet and i just have to put on webserver and author send me admin username and password after payment and make changes what i want later on..but please solve my problem ...thanks

ragzor's picture


answered here ;-


brian.newton's picture
Unable to install Newscenter them

I recently purchased the Newscenter theme. After many, many attempts and hours following the install process as documented, I'm unable to successfully install.

After finally getting past the initial errors by applying the various workarounds discovered by others here, I'm now getting database errors during the config step.
Table variable already exists.

Please assist.

support's picture
Hi Brian:

Hi Brian:

As you have tried installing a few times, maybe your database already has some previous tables for the initial attempt.

Do this:

1 - Using phpMyAdmin, clean up the database tables. Leave it without any table.

2 - Susing the same phpMyAdmin, restore the SQL file located in /profiles/newscenter/newscenter.sql in the same newscenter installation.

Let us know.

omakoni's picture
Cardealer does not complete install

I bought cardealer theme three days ago hoping that my site will be up and running in a matter of minutes, the support appears like it does not exist. This is not expected for a paid theme.

The installation always stops at level six and then generate the following error "PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'example.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 167 of /home/example/public_html/cardealer/includes/ ".
I followed the hints in the forum but nothing works. Now I set my server max_execution_time = 20000
memory_limit = 384MB. The new error I get when it fails is error 500 accompanied by "PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'example.users' doesn't exist: SELECT u.*, s.* FROM {users} u INNER JOIN {sessions} s ON u.uid = s.uid WHERE s.sid = :sid; Array ( [:sid] => aIrdqZEsPxy-wp7yY8d-3Dw5bTKLYLIcGi_wyzl56lQ ) in _drupal_session_read() (line 102 of /home/example/public_html/cardealer/includes/" I get the same error results from two different servers (Linux and Ubuntu).

Please help to fix this problem

support's picture
Hi Omakoni:

Hi Omakoni:

I have just replied your mail. Sorry for the late response but we ussually provide support from Monday to Friday in the morning.

Using PHPMYADMIN: Clean the database of tables, leave it with no table and then restore the file /profiles/cardealer/cardealer.sql

It will load the exact same database you would deploy using the installation profile.

Let us know.

Log in to post comments