Page 1 of 1

Server move path woes

Posted: Tue Dec 16, 2008 9:09 pm
by rhacer
Now that I'm successfully connecting to the DB, I'm finding another weird issue I can't figure out.
Warning: geshi(/home/tjg/public_html/serendipity/plugins/serendipity_event_geshi/geshi.php) [function.geshi]: failed to open stream: No such file or directory in /home3/craigela/public_html/serendipity/plugins/serendipity_event_geshi/serendipity_event_geshi.php on line 144

Fatal error: geshi() [function.require]: Failed opening required '/home/tjg/public_html/serendipity/plugins/serendipity_event_geshi/geshi.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php:/home3/craigela/public_html/serendipity/bundled-libs/:/home3/craigela/public_html/serendipity/bundled-libs/Smarty/libs/:/home3/craigela/public_html/serendipity/:') in /home3/craigela/public_html/serendipity/plugins/serendipity_event_geshi/serendipity_event_geshi.php on line 144
I cleared everything in templates_c

now when I grep my html directory I turn up nothing...

Code: Select all

craigela@craigelachie.org [~/public_html]# grep -ril 'tjg/public_html' .
craigela@craigelachie.org [~/public_html]#
I updated the serendipity_config table to use the new path in the serendipityPath field.

What am I missing that it's still looking for 'tjg/public' somewhere?

Posted: Tue Dec 16, 2008 11:25 pm
by judebert
Looks like the configuration for the Geshi plugin is incorrect. Perhaps there's a "path" configuration item that still points to your old installation?

Posted: Wed Dec 17, 2008 12:14 am
by garvinhicking
Hi!

when plugins were installed throgh spartacus, the serendipitY_plugins table might also hold an old path...

Regards,
Garvin

Posted: Wed Dec 17, 2008 12:38 am
by rhacer
garvinhicking wrote:Hi!

when plugins were installed throgh spartacus, the serendipitY_plugins table might also hold an old path...

Regards,
Garvin
I just checked the serendipity_plugins table and found the geshi entry, but the path there does not point to the old location.

The path entry in that table looks like this...

serendipity_event_geshi

Posted: Wed Dec 17, 2008 3:43 am
by judebert
The troublesome value is almost certainly in your database. Since you have the technical expertise to examine it directly, you probably also know how to dump it.

Once you get an SQL dump of your database, you can search for the offending path with any text editor. Then you can either modify it and re-import, or just change the entry manually.

And of course, we'd like to know what happened, too!

Posted: Wed Dec 17, 2008 7:15 pm
by rhacer
judebert wrote:The troublesome value is almost certainly in your database. Since you have the technical expertise to examine it directly, you probably also know how to dump it.

Once you get an SQL dump of your database, you can search for the offending path with any text editor. Then you can either modify it and re-import, or just change the entry manually.

And of course, we'd like to know what happened, too!

Code: Select all

SELECT * FROM serendipity_config WHERE value LIKE '%tjg/public_html%';
That did the trick.

The site is now up and running!

Thank you everyone for your help.

Posted: Wed Dec 17, 2008 9:36 pm
by judebert
We're always happy to help out!

So, what was the offending configuration item / plugin?