Fatal error after fresh install

Having trouble installing serendipity?
Post Reply
Maarten Lierop

Fatal error after fresh install

Post by Maarten Lierop »

Hi!

After a succesfull install I only get a page full of text (seems to be some release notes) when i try to open the blog. At the bottom the foloowing error is listed:
Fatal error: Cannot instantiate non-existent class: smarty_compiler in /home/maartenl/domains/maartenlierop.nl/public_html/weblog/bundled-libs/Smarty/libs/Smarty.class.php on line 1453

In my ftp program i've set all directories to 777, so the are accesable.

The connection with the database is working because it's full of serendipity tables. Does anybody know what could be wrong? (I'm not very familiar with php, so mayby it's just a stupid question; let's hope so!)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fatal error after fresh install

Post by garvinhicking »

It seems that you did not properly extract and/or upload all files. Check if the bundled-libs/Smarty directory contains all files and they are writable please!

Also check if you configured the right Serendipity Path (you can find that in the serendipity_config DB table)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Thanks for your quick reply!
I re-installed the files in that directory and made them all writable

after doing this, the whole releasenote text dissappeared,

but there was still an error

Fatal error: Call to undefined function: smarty_core_assemble_plugin_filepath() in /home/maartenl/domains/maartenlierop.nl/public_html/weblog/bundled-libs/Smarty/libs/Smarty.class.php on line 1363

The path in the database was:
/home/maartenl/domains/maartenlierop.nl/public_html/weblog/


i tried some options, and it gave me the following error
Warning: Smarty error: unable to read resource: "" in /home/maartenl/domains/maartenlierop.nl/public_html/weblog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088


If the course of the error is a wrong path, question is of course which is the routdirectory for the script
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Your directory config looks got. The first error with call to undefined function also only happens if still files are missing.

The second error happens if your templates_c directory is not writable (777) for the webserver!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Maarten Lierop

Post by Maarten Lierop »

Hi Garvin,

I'm sorry i need your help again...:oops:
Well, I reuploaded the whole directory, and changed all permissions to 777. I made sure to have copied everything, so no files could be missed again.

Now there comes another problem. The setup seems not to be able to put the new tables into the database. It sound logic that this is a permission issue, but with the same password and usernam i can make tables by myself, so sereditipy should also be able to do this using the same account.

after filling in the setup page, a screen appears with the following info:
translated into english it states first that directories in the database are not found

Controlleer de database op aanwezigheid van de nodige tabellen... negatief
Maak standaar database aan... Gedaan
Maak hoofdauteur 'smarto' aan... Gedaan
Stel standaard template in...

INSERT INTO serendipity_config (name,value,authorid) values ('template', 'default', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist Gedaan
Installeer standaard plugins... Gedaan
Probeer bestand .htaccess aan te maken...... Gedaan

INSERT INTO serendipity_config (name,value,authorid) values ('serendipityPath', '/home/maartenl/domains/maartenlierop.nl/public_html/weblog/', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('uploadPath', 'uploads/', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('serendipityHTTPPath', '/weblog/', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('templatePath', 'templates/', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('uploadHTTPPath', 'uploads/', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('baseURL', 'http://www.maartenlierop.nl/weblog/', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('autodetect_baseURL', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('indexFile', 'index.php', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('allowSubscriptions', '1', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('blogTitle', 'Maarten\'s afstudeer Blog', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('blogDescription', 'My little place on the web...', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('blogMail', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('lang', 'nl', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('lang_content_negotiation', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('fetchLimit', '15', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('useGzip', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('wysiwyg', 'false', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('XHTML11', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('enablePopup', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('embed', 'false', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('top_as_links', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('blockReferer', ';', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('rewrite', 'none', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('serverOffsetHours', '0', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('showFutureEntries', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('magick', '', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('convert', '/usr/local/bin/convert', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('thumbSuffix', 'serendipityThumb', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist

INSERT INTO serendipity_config (name,value,authorid) values ('thumbSize', '110', '0')

/ Table 'maartenl_base.serendipity_config' doesn't exist
Serendipity is met succes geïnstalleerd
Bezoek uw weblog hier
Dank u voor het gebruiken van Serendipity
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Can you check if any Serendipity DB Tables were created? What MySQL Version are you using? Did you make sure the sql/db.sql file was uploaded without file corruptions or problems, maybe cutoff?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply