Page 1 of 1

Problem with sitemap plugin 0.11 ...

Posted: Fri Nov 25, 2005 8:20 am
by Lux
Installed via spartacus update:

The plugin searches for a file called "lang_en.inc.php" in "serendipity_event_google_sitemap.php" line 15.

I renamed the installed "lang_de.inc.php" to "lang_en.inc.php" an it works, but I think this is the wrong way.

The blog is in German, so installation of the *de* file ist correct, referencing *en* makes it faulty.

Dirk

Re: Problem with sitemap plugin 0.11 ...

Posted: Fri Nov 25, 2005 12:55 pm
by garvinhicking
The plugin should also fetch the new lang_en.inc.php file?

It is included after the german language, so that missing translations will be shown in english, so that's intentional.

Regards,
Garvin

Re: Problem with sitemap plugin 0.11 ...

Posted: Fri Nov 25, 2005 3:39 pm
by Lux
garvinhicking wrote:The plugin should also fetch the new lang_en.inc.php file?
Yes!

Take a look:

without "lang_en.inc.php" and
with "lang_en.inc.php"

Dirk

Re: Problem with sitemap plugin 0.11 ...

Posted: Fri Nov 25, 2005 4:05 pm
by garvinhicking
Are you missing the lang_en.inc.php file? It's there in CVS!

Regards,
Garvin

Re: Problem with sitemap plugin 0.11 ...

Posted: Fri Nov 25, 2005 8:02 pm
by Lux
garvinhicking wrote:Are you missing the lang_en.inc.php file? It's there in CVS!
That is exactly the point.

I installed via spartacus and I think spartacus should install the lang_en.inc.php file if it is necessary to run the sitemap plugin.

Dirk

Re: Problem with sitemap plugin 0.11 ...

Posted: Sat Nov 26, 2005 12:44 pm
by garvinhicking
Yes, it should fetch those files, but this might only happen with Spartacus bundled with Serendipity 0.9.1, which fixes a problem with updating plugins...

So you can for now just manually fetch the lang_en.inc.php file from the CVS repository.

Or upgrade to serendipity 0.9.1, enter spartacus config, click save, enter plugin config, remove your current sitemap plugin, then delete the files of the sitemap plugin, and then install the sitemap plugin again.

Best regards,
Garvin

Re: Problem with sitemap plugin 0.11 ...

Posted: Sat Nov 26, 2005 1:20 pm
by Lux
garvinhicking wrote:Yes, it should fetch those files, but this might only happen with Spartacus bundled with Serendipity 0.9.1, which fixes a problem with updating plugins...
The error happened with s9y 0.9.1 ...
garvinhicking wrote:Or upgrade to serendipity 0.9.1, enter spartacus config, click save, enter plugin config, remove your current sitemap plugin, then delete the files of the sitemap plugin, and then install the sitemap plugin again.
When I try to install the sitemap plugin again I get

Code: Select all

Versuche URL package_event_de.xml zu öffnen...
155783 bytes von bereits bestehender Datei geladen. Speichere Inhalt als /home/confixx/web92/html/deimeke.net/dirk/blog/templates_c/package_event_de.xml...


Versuche URL lang_de.inc.php?rev=1.9999 zu öffnen...
1222 bytes von obiger URL geladen. Speichere Inhalt als /home/confixx/web92/html/deimeke.net/dirk/blog//plugins/serendipity_event_google_sitemap/UTF-8/lang_de.inc.php...
Daten erfolgreich geladen.
Versuche URL serendipity_event_google_sitemap.php?rev=1.9999 zu öffnen...
Die URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog//additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php?rev=1.9999 konnte nicht geöffnet werden. Möglicherweise existieren Server- oder Netzwerkprobleme.
Versuche URL lang_de.inc.php?rev=1.9999 zu öffnen...
Die URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog//additional_plugins/serendipity_event_google_sitemap/lang_de.inc.php?rev=1.9999 konnte nicht geöffnet werden. Möglicherweise existieren Server- oder Netzwerkprobleme.
Versuche URL lang_en.inc.php?rev=1.9999 zu öffnen...
Die URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog//additional_plugins/serendipity_event_google_sitemap/lang_en.inc.php?rev=1.9999 konnte nicht geöffnet werden. Möglicherweise existieren Server- oder Netzwerkprobleme.
Fehler: serendipity_event_google_sitemap:07835d906d20890a66be02af1bea5111 (serendipity_event_google_sitemap)
DEBUG: Plugin serendipity_event_google_sitemap:07835d906d20890a66be02af1bea5111 not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => serendipity_event_google_sitemap [install_plugin] => serendipity_event_google_sitemap [spartacus_fetch] => event [action] => [adminAction] => ) .

Please report this bug. This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_event_google_sitemap [1] => [2] => event [3] => 0 [4] => serendipity_event_google_sitemap )
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_google_sitemap:07835d906d20890a66be02af1bea5111', 11, 'event', '0', 'serendipity_event_google_sitemap')
No valid path/filename found. Aborting.
Classname serendipity_event_google_sitemap still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_google_sitemap still does not exist. Aborting.

Fatal error: Call to a member function on a non-object in /home/confixx/web92/html/deimeke.net/dirk/blog/include/admin/plugins.inc.php on line 797
What went wrong?

Thanks for your support.

Dirk

Posted: Sat Nov 26, 2005 1:22 pm
by Lux
I tried a second time and it works!

Thanks!

Dirk