Page 1 of 1
Problem with authorpic event plugin.
Posted: Tue Mar 29, 2005 1:11 am
by NexusTwelve
I downloaded the plugin serendipity_event_authorpic, copied and pasted the php code into a blank .php file in a folder called serendipity_event_authorpic, named the file the same, so i had the file under the path /serendipity/plugins/serendipity_event_authorpic/serendipity_event_authorpic.php
it didn't seem to be working, so I tried tweaking the code, thinking something had been messed up when I copied and pasted it. When I saved the file and refreshed the main page, I got an error message. I tried to delete the plugin from the plugin configuration page, but that seemed to make things worse, so I deleted the file form the server altogether. Now all I get when I go to the main page is:
Fatal error: Call to a member function on a non-object in /hsphere/local/home/ekmesnz/dissentispatriotic.net/serendipity/serendipity_plugin_api.php on line 408
I think I;ve totally screwed everything. How do I fix it?
Nevermind
Posted: Tue Mar 29, 2005 6:49 am
by NexusTwelve
Well, I fixed that problem by re-uploading the original .php file, but the plugin still doesn't work. Suggestions?
Re: Nevermind
Posted: Tue Mar 29, 2005 9:17 am
by garvinhicking
Try to download the file via CVS or via
http://cvs.sourceforge.net/viewcvs.py/p ... l-plugins/ using the Download-Feature. Your copy+paste method seems to freak up the plugin file.
Regards,
Garvin
Link doesn't seem to work...
Posted: Wed Mar 30, 2005 7:45 am
by NexusTwelve
All I got was this:
An Exception Has Occurred
php-blog/additional-plugins: unknown location
HTTP Response Status
404 Not Found
Python Traceback
Traceback (most recent call last):
File "/usr/local/viewcvs-pre-1.0-sf.net/lib/viewcvs.py", line 2730, in main
request.run_viewcvs()
File "/usr/local/viewcvs-pre-1.0-sf.net/lib/viewcvs.py", line 312, in run_viewcvs
% self.where, '404 Not Found')
ViewCVSException: 404 Not Found: php-blog/additional-plugins: unknown location
Posted: Wed Mar 30, 2005 7:15 pm
by mgroeninger
No cigar.
Posted: Thu Mar 31, 2005 6:00 am
by NexusTwelve
Still no luck. Downloaded the file, re-uploaded it, didn't work. And while we're on the subject, I tried installing the serendipity_event_multilingual plugin, and it messed some stuff u because the plugin doesn't seem to work. The fatal error keeps me from removing the plugin. Help?
I didn't touch the code, just downloaded it and uploaded it to the site.
(to see what's going on:
http://dissentispatriotic.net/serendipity/)
No cigar.
Posted: Thu Mar 31, 2005 6:06 am
by NexusTwelve
Still no luck. Downloaded the file, re-uploaded it, didn't work. And while we're on the subject, I tried installing the serendipity_event_multilingual plugin, and it messed some stuff u because the plugin doesn't seem to work. The fatal error keeps me from removing the plugin. Help?
I didn't touch the code, just downloaded it and uploaded it to the site.
(to see what's going on:
http://dissentispatriotic.net/serendipity/)
Posted: Thu Mar 31, 2005 6:41 am
by mgroeninger
From looking at your site the multilingual plugin is complaining that the serendipity_currentURL() function is missing...
This function is defined in /include/functions.inc.php in Serendipity 0.8.. It does not exists (as far as I know) in 0.7.1
I think you are running version 0.7.1...
You need to be a little careful with plugins and 0.7.1
It will allow you to install plugins which are unsupported, and you can break your install...
But it is not a huge problem..
To remove a plugin which you can't uninstall you can open the database and remove the entry manually... You should use phpMyAdmin or something similar and remove the plugin entry from the plugin table.
You can do this to remove both the plugins that are giving you problems..
I haven't looked at the authorpic plugin, but I would be willing to be it only supports Serendipity 0.8 (the plugin was created fairly recently)
You should look at the 0.8 beta4. It adds a lot of functionality and will work with more plugins then the old version.
And the final version of 0.8 should be out very soon!
Keep posting if you need help..
uh-oh
Posted: Fri Apr 01, 2005 8:44 am
by NexusTwelve
Argh, I think I messed things up again. I downloaded the 0.8 beta4, and before trying to install it I backed up my SQL database and current version of the blog.
Now, I overwrote the old blog with the 0.8 version, and got the installation screen, but it said it couldn't write the /serendipity/templates and /serendipity/templates_c directories. Now, even though the permissions were full-access (read, write, exec) to everyone it wouldn't verify that. So, instead of continuing to fiddle with it, I just copied my old blog back. That seemed to work, but I got the original 0.7.1 installation screen. That would have installed, but it couldn't write the /serendipity/ directory, and I couldn't get it to recongnise the fact that there were no permission limitations. I tried using an FTP program (webFTP), and no luck with the chaning of permissions. I tried creating an .htaccess file, no luck with that. So I re-copied the 0.8 files to see if I could just install that straighaway, but now it can't write /serendipity/uploads, /serendipity/templates_c, or /serendipity. It can't seem to recognise the permission settings on the folders. There is no restriction on any of them, as far as I can tell.
This is exceedingly frustrating, and it's a pain having the blog completely down like this, so any help would be appreciated. Thanks.
still...
Posted: Fri Apr 01, 2005 9:15 am
by NexusTwelve
I got rid of the /serendipity/ directory on the server and re-uploaded the backup copy, but still no luck on re-installing it.
Re: still...
Posted: Fri Apr 01, 2005 12:21 pm
by garvinhicking
If serendipity tells that it can't write to templates / template_c, you must trust Serendipity, and it seems your path settings are NOT 0777 or writable to the server.
This seems to be the persisting issue...
Regards,
Garvin
in that case...
Posted: Sat Apr 02, 2005 10:27 pm
by NexusTwelve
Then can you reccomend a reliable, effective FTP program so I can change those permissions? I can't get shell access, I'm on a shared server, and the FTP program I'm suing right now isn't working.[/i]
Re: in that case...
Posted: Sun Apr 03, 2005 2:42 am
by garvinhicking
I have had no problems with SmartFTP (
www.smartftp.com).
If that also fails for you, it's your webserver setup and you should talk to your system administrator and kindly ask him to properly configure permission/user setup
Regards,
Garvin