Posted on: 02/19/10 05:45pm
By: Anonymous (Lizard)
:helpme:
Hi guys,
Everything was pretty much perfect until about 20 minutes ago!
I have geeklog version 1.6.1
I have just tried to install chatterblock 3.1. 1.4.1 and now I am unable to access the Geeklog part of my site again. I have followed the installation instructions, but the page is blank. If anyone would like to suggest a reason for this then please feel free. I thought it was going so well.
Lizard.
Re: Oh dear!
Posted on: 02/19/10 05:51pm
By: Anonymous (GUEST)
Quote by: Lizard :helpme:
Hi guys,
Everything was pretty much perfect until about 20 minutes ago!
I have geeklog version 1.6.1
I have just tried to install chatterblock 3.1. 1.4.1 and now I am unable to access the Geeklog part of my site again. I have followed the installation instructions, but the page is blank. If anyone would like to suggest a reason for this then please feel free. I thought it was going so well.
Lizard.
my friend, for me I just login to the host cpanel and change the chatterblock name to 12345, save than check your site again. I think it should be ok.
Re: Oh dear!
Posted on: 02/19/10 06:07pm
By: Anonymous (Lizard)
:helpme:
Hi there. Thank you for your help.
I tried that option and I now have an error message:
2 - require_once(/home/sites/lizard69.com/public_html/weblog/plugins/chatterblock/functions.inc) [function.require-once]: failed to open stream: No such file or directory @ /home/sites/lizard69.com/public_html/weblog/lib-common.php line 7065
Plus a massive page of stuff after this error.
I am guessing I need to change something in my lib-common.php?
Never had this problem come up yet!
Lizard.
Re: Oh dear!
Posted on: 02/19/10 06:18pm
By: Dirk
Did you remove the files for the Chatterblock plugin without uninstalling it? Because that's what the error message says (it's missing the plugins/chatterblock/functions.inc file).
You can disable the chatterblock in the gl_plugins table by setting pi_enabled to 0. That should bring your site back up.
bye, Dirk
Chatterblock
Posted on: 02/19/10 06:21pm
By: Anonymous (Lizard)
I have just found out that if I click on the [function.require-once] link I get a 404 not found error.
Error, error, error.
:banghead:
Re: Oh dear!
Posted on: 02/19/10 06:24pm
By: Anonymous (Lizard)
Quote by: DirkDid you remove the files for the Chatterblock plugin without uninstalling it? Because that's what the error message says (it's missing the plugins/chatterblock/functions.inc file).
You can disable the chatterblock in the gl_plugins table by setting pi_enabled to 0. That should bring your site back up.
bye, Dirk
I will try that now.
Re: Oh dear!
Posted on: 02/19/10 06:55pm
By: Anonymous (Lizard)
Hi Dirk,
I am assuming that I am looking in the admin directory at the plugins.php file?
I have noticed that there are a few sections that have pi_enabled in this file. I have not changed any settings yet.
Here is what happened from the start:
I uploaded the files to my server and placed them all in the correct directories.
I installed the program successfully via the plugin page. I went to chatterblock settings to look at and change a few settings. When I clicked on save settings the screen went blank and I could not access any part of the site. I tried clicking the back button to disable the chatterblock or uninstall it, but the same thing happened again.
I still have the files installed. I just changed them to 12345 as directed by guest. That's when the error came up.
I have now changed the files back to chatterblock and I am back to where I started, with the blank page. http://lizard69.com/weblog/
This same thing happened the other day with the smooth blue theme which I eventually changed to professional etc.
I am stuck with this one!
Hope this description helps?
Lizard.
Re: Oh dear!
Posted on: 02/19/10 06:58pm
By: suprsidr
create a new text document name it disable.php
place the following in the file
Text Formatted Code
<?php
require_once 'lib-common.php';
DB_query( "UPDATE {$_TABLES['plugins']} SET pi_enabled = 0 WHERE pi_name = 'chatterblock'" );
echo 'done';
?>
upload to yourGeeklogSite.com/disable.php
visit it once via your web browser then delete it from your server.
-s
Re: Oh dear!
Posted on: 02/19/10 07:15pm
By: Anonymous (Lizard)
Quote by: suprsidrcreate a new text document name it disable.php
place the following in the file
Text Formatted Code
<?php
require_once 'lib-common.php';
DB_query( "UPDATE {$_TABLES['plugins']} SET pi_enabled = 0 WHERE pi_name = 'chatterblock'" );
echo 'done';
?>
upload to yourGeeklogSite.com/disable.php
visit it once via your web browser then delete it from your server.
-s
Ok.
I did that and I got these errors. My screen is still blank.
Warning: main(lib-common.php) [function.main]: failed to open stream: No such file or directory in /home/sites/lizard69.com/public_html/disable.php on line 2
Fatal error: main() [function.require]: Failed opening required 'lib-common.php' (include_path='.:/usr/share/pear'
in /home/sites/lizard69.com/public_html/disable.php on line 2
Re: Oh dear!
Posted on: 02/19/10 07:18pm
By: Anonymous (Lizard)
I also tried this in my weblog directory which is where all of the Geeklog files are and nothing happened.
Re: Oh dear!
Posted on: 02/19/10 07:19pm
By: suprsidr
upload to yourGeeklogSite.com/disable.php
My god man... upload the file to your geeklog directory
it has to be in the same directory as lib-common.php
the error messages you are receiving pretty much explain the problem.
-s
Re: Oh dear!
Posted on: 02/19/10 07:22pm
By: Anonymous (Lizard)
Quote by: suprsidrupload to yourGeeklogSite.com/disable.php
My god man... upload the file to your geeklog directory
it has to be in the same directory as lib-common.php
the error messages you are receiving pretty much explain the problem.
-s
Ok. I will try again. I am new to this so do not know as much as most people on here.
Sorry.
Re: Oh dear!
Posted on: 02/19/10 07:24pm
By: Anonymous (Lizard)
Just checked that out. That is the file I uploaded it to.
That I am sure of.
Re: Oh dear!
Posted on: 02/19/10 07:55pm
By: Anonymous (Lizard)
Tried changing chmod etc but no luck.
Oh well. It was fun while it lasted.
Thanks anyway guys.
Been working on this project for two months now and keep on getting different problems.
This was my last try at the program. All was going really well today. Everything was working until I uploaded the Chatterblock. If I have these problems everytime I upload a new plugin then it is not going to work for my site as I am going to receive complaints every time. Sorry.
Thank you so much for your help and support. With respect to my customers, I am now going to pass them on to another site for a blog and forum.
Keep up the good work.
Lizard.
Re: Oh dear!
Posted on: 02/19/10 08:29pm
By: suprsidr
ok, I forgot you had a plugin giving you trouble.
so in your weblog directory where lib-common.php and siteconfig.php are located
put this in your disable.php
Text Formatted Code
<?php
require_once 'siteconfig.php';
require_once $_CONF['path'].'db-config.php';
require_once $_CONF['path_system'].'lib-database.php';
DB_query( "UPDATE ".$_DB_table_prefix['plugins']." SET pi_enabled = 0 WHERE pi_name = '".$_REQUEST['plugin']."'" );
echo 'done';
?>
and visit
http://www.yoursite.com/weblog/disable.php?plugin=chatterblock
-s
Re: Oh dear!
Posted on: 02/19/10 08:52pm
By: Anonymous (Lizard)
Sorry.
It still did not work. It came up with done, but when I try to access my page it still comes up with a blank page.
Obviously something a bit more serious wrong with it.
Thank you for your help anyway. It really is appreciated.
I think I have reached my limit now. That part of my site was about to be launched. I am kind of glad it happened now and not when I had a thousand members on it.
Thanks again.
Lizard.
Re: Oh dear!
Posted on: 02/19/10 09:27pm
By: suprsidr
I should have pasted that into my editor to see what it actually looked like.
Text Formatted Code
$enable = (isset($_REQUEST['enable']))?$_REQUEST['enable']:0;
$enableText = ($enable)?'enabling':'disabling';
require_once 'siteconfig.php';
require_once $_CONF['path'].'db-config.php';
require_once $_CONF['path_system'].'lib-database.php';
if(DB_query( "UPDATE {$_TABLES['plugins']} SET pi_enabled = ".$enable." WHERE pi_name = '".$_REQUEST['plugin']."'" )){
echo 'Finished '.$enableText.' the '.$_REQUEST['plugin'].' plugin.';
}else{
echo 'Oops something went wrong while '.$enableText.' the '.$_REQUEST['plugin'].' plugin.';
}
This would be better so you can enable or disable plugins as needed.
disable:
http://www.yoursite.com/weblog/disable.php?enable=0&plugin=chatterblock
and to enable:
http://www.yoursite.com/weblog/disable.php?enable=1&plugin=chatterblock
I think I'll make an emergency rescue form for those who run into similar issues.
When I first came on the blog scene, I tried all the others. Geeklog was the only one that worked as expected.
I had some programming knowledge but not much php and I must say its been a great learning experience developing for geeklog/gallery2.
-s
Re: Oh dear!
Posted on: 02/19/10 10:20pm
By: Anonymous (Lizard)
Hi.
Don't get me wrong. I really do like Geeklog, but I have been working on this project for some time now and I keep on getting different problems arise. I agree that Geeklog is probably the best programme to use, but I can not have problems every day with a programme. It was really nice to use it for a day and I did get some really good comments. I had everything working just the way I wanted it and I was about to purchase the glMessenger from Blaine this weekend. I should never of tried to install the Chatterblock. That was a mistake, but then I was not to know what was going to happen.
I will have a look at it in the morning. Well, Later on today as it is now 3:15am here. I normally stay up until 6am, but I am getting a bit tired now.
I did try your other code, but I got the same thing again.
I will take a fresh look at it later on today or over the weekend. I don't really want to start all over again. I must have done that about 20 times or more now. That's how much I have wanted it to work over the past couple of weeks!
Thanks again for your help.
Lizard.
Chaterblock 3.1. 1.4.1Update
Posted on: 02/19/10 11:30pm
By: Anonymous (Lizard)
Hi guys,
I stuck it out for the rest of the morning and I now have my Geeklog site back up and running.
I needed to go in to my geeklog/system/lib-plugins.php directory and change the following: "WHERE pi_enabled = 1"
; I changed to WHERE pi_enabled = 0"
;
I could then get in to my admin plugins from the site and delete the chatterblock from the plugins.
As far as I know everything is now back to normal. I think I will leave the plugins alone for a bit. LOL.
Thanks again for your help. I still do not know what caused it, but all is working again now.
Lizard.
:banana:
Re: Oh dear!
Posted on: 02/19/10 11:38pm
By: suprsidr
Chatterblock was last updated for geeklog 1.4.1 so its pretty old.
You should check here first before installing plugins from that far back.
-s
Re: Oh dear!
Posted on: 02/19/10 11:58pm
By: Anonymous (Lizard)
Hi there.
I think I will be a bit more cautious from now on.
I do have a few more things to sort out, but hopefully it will be ok. I am hoping to install Blaine's glMessenger this weekend so hopefully all will go well.
I might ask someone to help me out next time as I need to add a few things to the new user login.
I was hoping to have an option that allows new users to automatically be set as a group member. For example: If I have a photographer come to my site I would like them to register as a photographer with a drop down menu. Then they would be automatically set up under the photographer group.
Anyway that is another subject and I will try and find out if that is possible later on.
Thank you again for your help and support.
Lizard.
Re: Oh dear!
Posted on: 02/20/10 10:54am
By: Dirk
Quote by: LizardI was hoping to have an option that allows new users to automatically be set as a group member. For example: If I have a photographer come to my site I would like them to register as a photographer with a drop down menu. Then they would be automatically set up under the photographer group.
I wrote that would allow users to select from a list of groups (under My Account). This was for a network of Macintosh user groups over here in Germany. Users would get a list of all the local user groups and selecting one made them a member of that Geeklog group so that they had access to content specific to their group.
Warning: The plugin is not usable as is. Somebody with some basic knowledge of PHP should be able to adopt it easily, though.
Also, the next Geeklog release will let the admin define
default groups[*1] that new users are automatically added to. But I guess that's not quite what you were looking for?
bye, Dirk
Re: Oh dear!
Posted on: 03/17/10 03:58pm
By: Anonymous (Lizard)
Hi Dirk,
Sorry, I only just see your post on the subject of groups. I have been adding new groups manually at the moment, but what I was hoping to do was to have a drop down menu on the main registration page so that users could sign up as a photographer etc and then they would only see what was defined in the photographer group once they had signed in.
Your plans for the next Geeklog release look good though.
Lizard.
Re: Oh dear!
Posted on: 03/17/10 04:26pm
By: Dirk
Quote by: Lizardwhat I was hoping to do was to have a drop down menu on the main registration page so that users could sign up as a photographer etc and then they would only see what was defined in the photographer group once they had signed in.
You can actually modify the signup page to include additional fields, e.g. such a drop-down. This would still require some custom code, but there is an API for it, so you don't have to modify Geeklog. Search for "custom registration" - there should be quite a few posts on that topic.
bye, Dirk
Re: Oh dear!
Posted on: 03/17/10 05:53pm
By: Anonymous (Lizard)
Hi Dirk,
Thank you for your advice. I will check out the forums on the custom registration subject.
Lizard.
Re: Oh dear!
Posted on: 03/18/10 12:21am
By: Anonymous (Lizard)
Sorry! I posted a message here ealier on and I have now sorted this problem out!