Page 1 of 1

[Problem] Adding bots and Deleting inactive users

PostPosted: Sun Apr 09, 2006 8:04 pm
Author: bariq
Hi,

Iam having 2 problems on my site

1) Iam getting regular bot visits from google to my website and they index the site. Now a days when i try to add the pending bots then iam getting an page not found error. I used to add pending bots before without any problem. Iam running my site on a windows box and there are no permission problems. So can anyone help me out?

Is there a particular limit to the number of bots addresses/ip's being added?

I noticed that the SID is missing from the page url when i click add bot link.

Iam confused... pls help me out here

Following is the url for the bots management and the error message.

http://www.mytikas.org/portal/admin/index.php?admin=1




2) I cant delete inactive users from the inactive users screen. When i check the checkbox beside the username and click the delete button i get a page not found error.
http://www.mytikas.org/portal/admin/adm ... ode=delete

I have checked that the i have the admin_users_inactive.php page but it still i get the page not found message.

I get the same page not found when i try to edit the bots too. Both pages dont have the SID in the url.

Iam running integramod 1.4 with all the patches on a windows box.

Any help appreciated.

Re: [Problem] Adding bots and Deleting inactive users

PostPosted: Sun Apr 09, 2006 9:22 pm
Author: Helter
youve run the security mod update?

PostPosted: Sun Apr 09, 2006 11:13 pm
Author: bariq
"HelterSkelter";p="787" wrote:youve run the security mod update?


yeah security on my site is ver 1.0.3

PostPosted: Mon Apr 10, 2006 12:22 am
Author: Simon N
Turn debug back on for more detailed error messages. See if this sheds more light on the problem.

Personally I suggest only turning it off on a board that is final.

PostPosted: Mon Apr 10, 2006 5:07 am
Author: bariq
"Simon N";p="796" wrote:Turn debug back on for more detailed error messages. See if this sheds more light on the problem.

Personally I suggest only turning it off on a board that is final.


Setting the debug on (portal/includes/constant.php - debug=1) didnt helped in isolating the problem in anyway. When i try to delete inactive user or add bots i get the same page not found msg.

URL that shows up is http://www.mytikas.org/portal/admin/index.php?admin=1

PostPosted: Mon Apr 10, 2006 6:20 pm
Author: bariq
Any ideas yet ?

Is there a way in ACP where i could have disabled the sid to be linked to delete inactive users and add/edit bots ?

PostPosted: Tue Apr 11, 2006 1:29 pm
Author: Nata
How about the CHMOD ? are they all OK ?

PostPosted: Tue Apr 11, 2006 6:06 pm
Author: bariq
"ilia";p="991" wrote:How about the CHMOD ? are they all OK ?


Thanks for the response. well permissions are ok. Its a windows box. I used to delete inactive users and add/edit bots before. All of a sudden after i added a link which doesnt need sid for the bots to index my site, this problem started. Now i deleted that link from the menu but the problem still stays.

PostPosted: Wed Apr 12, 2006 9:35 am
Author: Jason Sanborn
Is your site hosted on a dedicated server, or shared? If dedicated, do you have terminal service access to it?

Windows does require specific permissions for the IUSR_{computername} account. When you compare the CHMOD permissions on the install instructions page, make sure that for every file listed to CHMOD 666 or 777, that IUSR_{computername} has Modify/Write priviledges.

If you don't have terminal service access, check with your host, to see if they can change the permissions for you.

PostPosted: Wed Apr 12, 2006 2:55 pm
Author: Nata
i think that Fubie or Found it have a chmodder done if u can't do it give them the Chmodder to work with

PostPosted: Thu Apr 13, 2006 2:17 am
Author: bariq
hi jason and ilia, Thanks for the pointers.

But if its a permission issue then the whole php page cant be accessed not selective access. Here is a example:

http://www.mytikas.org/portal/admin/adm ... 33c8928cd0
shows me the list of the inactive users

but when i try to delete one inactive user after selecting the check box
http://www.mytikas.org/portal/admin/adm ... ode=delete

I get page not found <img>

Both functions are accessing the same php file. so any other ideas ?

PostPosted: Thu Apr 13, 2006 11:34 am
Author: Nata
well it's commonly not completed uploaded file , try to reupload all the admin folder in your forum root and all the admin folder of your template folder .

it must work !

by the way , when u give us the links it dont work cause we dont have the cookies in our computers so try to post a images !

PostPosted: Thu Apr 13, 2006 9:09 pm
Author: bariq
"ilia";p="1361" wrote:well it's commonly not completed uploaded file , try to reupload all the admin folder in your forum root and all the admin folder of your template folder .

it must work !

by the way , when u give us the links it dont work cause we dont have the cookies in our computers so try to post a images !


Hi Iliia,
Its not half uploaded file, well i uploaded the files many times but no luck in fixing the problem.

I posted the url's to show the way sid is being carried with the first and there is no sid in the second.

PostPosted: Fri Apr 14, 2006 2:26 am
Author: bariq
finally sat today to do some debugging of the code i have as its not going anywhere and the problem was still there.

well this is what i found...

users_inactive_body.tpl

Take a look at the "&" after the php file...
<input>
<input>
<input>


now changing the above code to this, replacing "&" after the php file with "?" solves the problem

<input>
<input>
<input>


why was this code working normally before? if something.php&mode is taken as a whole filename and something.php? is taken as filename and parameter.

I know nuts about php, i just used my asp knowledge to figure out whats going on.

PostPosted: Fri Apr 14, 2006 1:58 pm
Author: Nata
cuz in php if u want to use variable via url all u need is to give to the php file the variable and their information exemple for this topic we are using ! viewtopic.php file and with the variable t=139 T it's used in php for topic ID so we are in viewtopic.php file where "?" T topic ID is 139 .

PostPosted: Fri Apr 14, 2006 6:34 pm
Author: bariq
now what iam trying to figure out is how this page used to work before and why it just stopped working. Can it be possible that the "?" and one parameter got missing and the next parameter which is "&" and parameter is getting concatinated to the url ?

can anyone check their admin_users_inactive.php and users_inactive_body.tpl here pls

PostPosted: Sun Apr 16, 2006 7:01 am
Author: Nata
it's ok on my site !

Re: [Problem] Adding bots and Deleting inactive users

PostPosted: Mon Jun 05, 2006 1:21 pm
Author: maddocks
Hi,

i have found a fix, if you go into the templates directory, admin and then bots_body.tpl, then replace every &id with ?id and reupload the file. I had the problem like you and this definately fixed it!

Maddocks

PostPosted: Thu Jun 15, 2006 1:19 am
Author: bariq
thanks maddocks, i did fixed that problem but forgot to post it here. I planned to work on adding the bots with a multiple check box option rather than adding one by one, but idea put on hold as busy with world cup n work