Problem with authorpic event plugin.
Problem with authorpic event plugin.
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?
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?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Nevermind
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
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/
# 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/
Link doesn't seem to work...
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
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
-
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Try http://cvs.sourceforge.net/viewcvs.py/p ... l_plugins/
(looks the same, but is not...
The first one has additional-plugins)
the authorpic plugin is at
http://cvs.sourceforge.net/viewcvs.py/p ... authorpic/
(looks the same, but is not...
The first one has additional-plugins)
the authorpic plugin is at
http://cvs.sourceforge.net/viewcvs.py/p ... authorpic/
No cigar.
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/)
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.
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/)
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/)
-
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
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..
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
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.
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.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: still...
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
This seems to be the persisting issue...
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/
# 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/
in that case...
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]
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: in that case...
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
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
# 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/
# 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/