1
domifara
Re: Sessions in URL
  • 2005/4/16 13:48

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


it is my guess?
I think that it is writing some trouble?.
Quote:
przemeks wrote:
Why sometimes in my modules URL's is session ID ex.:
informacje+article.id+43+PHPSESSID+b2043092e073d3c2bed93c52272fa1cd.htm

Why this !@#$%%^^ Session ID is showing in my URLs ??
I'm waiting for answeres.


http://jp.php.net/manual/en/ref.session.php
php.ini
; Whether to use cookies.
session.use_cookies = 1
; use transient sid support if enabled by compiling with --enable-trans-sid.
session.use_trans_sid = 0

Excluding this
To the core source of Xoops
it's ,Please look at /incule/functions.php
about from line 390
if (defined('SID') && (! isset($_COOKIE[session_name()]) || ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '' && !isset($_COOKIE[$xoopsConfig['session_name']])))) {
        if (!
strstr($url'?')) {
            
$url .= '?' SID;
        } else {
            
$url .= '&'.SID;
        }
    }

when this is.
sometimes in my modules URL's is session ID.
It is time when it has jumped to my site specifying id etc. of the thread that
doesn't exist.
The access of ..sequential.. consecutive id etc. have gone out of the search
engine etc. , too.


This specification is unnecessary on my site.
delelte lines or souce comments

-----------------------------
Quote:
przemeks wrote:
I use "simplified urls".
In admin panel i disable a additional sessions options.
Users can't log in to my XOOPS (i disable this option).


the following be related?

Isn't the following mistakes?being said(xoops forum from GIJOE)
inculde/common.php
from about? line 175
if (function_exists('session_cache_expire')) {
            
session_cache_expire($xoopsConfig['session_expire']);
        }


http://jp.php.net/manual/en/function.session-cache-expire.php
http://jp.php.net/manual/ja/ref.session.php
to
//HACK for FIX (from XOOPS japan forum by GIJOE)        
        
ini_set'session.gc_maxlifetime' $xoopsConfig['session_expire'] * 60 ) ;



2
domifara
Re: problem accessing groups from admin
  • 2003/10/30 9:41

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


Quote:
nuker wrote:
php debuggin through the XOOPS pref's, right?

Isn't it displayed "php debug Message" on your screen?

Quote:
nuker wrote:
i thought this worked, but it didn't.
when i delete the table data in xoops_groups_users_link, i can access the registered users properties again.

Did you?
systems dmin >>Edit Groups>>Registered users group
>>Edit Members of this Group >> all user add from listbox.

You should not do import the groups_users_link from the old amusing data into the new one.



3
domifara
Re: Changed Theme now get a blank page
  • 2003/10/28 1:32

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11





4
domifara
Re: Changed Theme now get a blank page
  • 2003/10/28 1:26

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11





5
domifara
Re: problem accessing groups from admin
  • 2003/10/28 0:05

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


Quote:
nuker wrote:
next was importing the xoops_groups_users_link table to match the users to their respective groups. to make this work, i had to add the "linkid" field in old table so that the data would import to the new table.
i am logged in as administrator, and can do admin things. i can access all other groups, except the Registered users group. when i try, the page is completely white.
what did i do wrong?

I have also done same operation.
maybe?
xoops_groups_users_link ,xoops_users ,xoops_groups :
Which is it? table data unmatch

You can try some do.
------
If you want to data "linkid" check.
>>Table logical check for xoops2<<
this checker's display -> you can do .It carries out using phpMyAdmin --> EDITor ADD , change data.
----------------
or
Registered users group data all delete from xoops_groups_users_link
(except the admin users group)
It carries out using phpMyAdmin
It deletes at once from xoops_groups_users_link.
for example
DELETE * from xoops_groups_users_link where groupid = 2 ;
(the Registered users group is groupid = 2.maybe?)
and
add all from group control panel



6
domifara
Re: Moderator cannot delete post
  • 2003/10/27 5:56

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


Quote:
mayiufai wrote:
Would you mind sending your newbb_thread.html
file to me?


http://www5f.biglobe.ne.jp/~domifara/newbb_thread_html.zip



7
domifara
Re: Moderator cannot delete post
  • 2003/10/27 5:41

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


Quote:
mayiufai wrote:
The screen only display "You are not the mooderator of the forum" even the forum dispalyed that member as a moderator. I have also assigned the member as a role of moderator in user rank.

Is it saying that it was as follows?
<<For appointing a moderator as a forum>>
1.Forum Configuration >> Edit a Forum
2.Select a Forum to Edit>> Edit
3.Edit This Forum>>Moderator(s)
Add: user form combobox
4. push [save changes]



8
domifara
Re: Moderator cannot delete post
  • 2003/10/27 4:14

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


By what method did it change?
Probably, you have changed this
modules/newbb/templates/newbb_thread.html
about line 25
Quote:

before changing
<{if $xoops_isadmin == true}>
after changing
<{if $viewer_is_admin == true}>


---
when after changing template
 Please also carry out updating newbb module
from module management



9
domifara
Re: Moderator cannot delete post
  • 2003/10/27 2:16

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


Is it the thing of this?
https://xoops.org/modules/newbb/viewtopic.php?topic_id=12418&forum=21#forumpost51697



10
domifara
Re: Image Manager DB bug!
  • 2003/10/14 3:50

  • domifara

  • Just popping in

  • Posts: 25

  • Since: 2003/9/11


Yesterday About this bug, since the cause was found
Quote:
danruiid wrote:
Using the Image Manager, I create a category that stores the images inside the database. I upload. Good.

Now, I attempt to rename one of the images. All of the images disappear.


ALL xoops2.0.X : spell miss imagebody table name

'image_body' --> 'imagebody'

/kernel/image.php from about line 160
Before
if (isset($image_body) && $image_body != '') {
                
$sql sprintf("UPDATE %s SET image_body = %s WHERE image_id = %u"$this->db->prefix([u][color=990000]'image_body'[/color][/u]), $this->db->quoteString($image_body), $image_id);
                if (!
$result $this->db->query($sql)) {
                    
$this->db->query(sprintf("DELETE FROM %s WHERE image_id = %u"$this->db->prefix('image'), $image_id));
                    return 
false;
                }
            }

After
if (isset($image_body) && $image_body != '') {
                
$sql sprintf("UPDATE %s SET image_body = %s WHERE image_id = %u"$this->db->prefix([u][color=990000]'imagebody'[/color][/u]), $this->db->quoteString($image_body), $image_id);
                if (!
$result $this->db->query($sql)) {
                    
$this->db->query(sprintf("DELETE FROM %s WHERE image_id = %u"$this->db->prefix('image'), $image_id));
                    return 
false;
                }
            }





TopTop
(1) 2 »



Login

Who's Online

249 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 249


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits