11
fbs777
Re: Displaying total number of registered users
  • 2006/11/2 18:19

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


Hi, thank you, but dont work... im using the module "m_online", an alternative block for show more things, including the email (when authorized by user) avatar, in wich module the user is, and how much time the member are online.

You can see this module working here:
http://www.xoops.net.br/

He is the "Membros Online"

and download here:
http://www.xoops.net.br/modules/wfdownloads/singlefile.php?cid=6&lid=66

I want to make like this:
Old:
Members: 1

New:
Members: 1/100

The problem: this module dont have template, so the smarty dont work...



12
fbs777
Re: Displaying total number of registered users
  • 2006/11/2 0:11

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


I tryied both ways, but dont work in a php page in an existing block. How to include the total of members in a block from a module?

I want to put this with the members online module (actually, this is a block installed as a module )



13
fbs777
weblinks: How to show the category image when inside of the category?
  • 2006/8/7 23:25

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


how to show the image of the category when you are inside of the category? I want to edit the template to show the image category bellow the "Sort By..." right before the links, when inside of her, but i dont know which XOOPS code to put...

using weblinks v. 1.11



14
fbs777
Articles mod.: how to uncamouflage the topics/posts in the forum?
  • 2006/7/21 20:43

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


Im testing the article 0.95 + cbb 3.04 (both from www.xoopsforge.com) in localhost.

In cbb module: created the "articles" forum, just for discuss about the articles

In articles module: each article has the forum option activated, to show in the "articles" forum.

The problem: each topic just show if you enter by the article (the forum link in the article).
If you go to cbb (by index of cbb) the forum "articles" is empty even for the admin.

And in the block of newest topics/posts dont show the topics/posts about the articles...

The only way to see an article topic forum is going to the forum link in the article?

I need a way to show the articles topics in the forum like all the others, showing since the index forum.



15
fbs777
Re: Session doesnt working anymore (no more logins!)
  • 2006/4/4 6:09

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


Thanks, i tested what you said, but dont work here:
Quote:

tripmon wrote:
Have you checked with your host (if hosted) to see if anything changed?
I checked with them today and they dont changed anything.
Quote:
Are you using a redirect from another root?

Are you talking about redirect url? Yes, the url ishttp://mysite.cjb.net, but this is the same url in more than a year...

Quote:
Make sure that your mainfile.php has not changed and the entries are correct... Exactly correct.

All the names are corrected (url, db name, table name, etc)

Quote:
1)Clean templates_c except for index

Ok, done. But about the index.php, is like i said before:
Quote:

- In each one of the experiments, i deleted the cookies and cache of the navigators, and the content of the templates_c in server


Quote:
2)-turn off custom sessions via dB using phpmyadmin-
in the config table:
Find the entry below:
[conf_name] use_mysession
[conf_title]_MD_AM_USEMYSESS
click the pencil looking thing to the left of the row.
Set conf_value to [0] (that's a zero) then empty & drop the session table
Ok, done.
Quote:
3)-re-create session table
MAKE SURE you change XXX to your dB prefix in the line below, then run this in the phpmyadmin SQL panel.

CREATE TABLE XXX_session (
sess_id varchar(32) NOT NULL default '',
sess_updated int(10) unsigned NOT NULL default '0',
sess_ip varchar(15) NOT NULL default '',
sess_data text NOT NULL,
PRIMARY KEY (sess_id),
KEY updated (sess_updated)
) TYPE=MyISAM;
Ok, done.
Quote:

Unless you have edited some other things in the dB, if that doesn't do it, it's got to be a php/mysql version or config. change issue.
Before the problem i dont edited nothing in the phpmyadmin, but i dont remember what (and if) i modified something in the XOOPS admin area...

I heard something about the header.php files cant have a blank line in the end (after line ?>). Is that right? Because in the end of some header.php files there is a blank line in the end...



16
fbs777
Re: Session doesnt working anymore (no more logins!)
  • 2006/4/3 1:37

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


I was thinking: what about to creat a query to alter the table xoops_config (but just the session options), to go back to the normal configuration? Because i think this is maybe the only cause of this error...

The problem is: i dont know how to alter tables, i just know how to execute the query...



17
fbs777
Re: Session doesnt working anymore (no more logins!)
  • 2006/4/3 0:12

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


When i closed the site, i modified the text description but in the site the text still in the original form.

I was navigating in ftp and i remember about /cache contents. I deleted all the files in cache and the text description in maintenance page changed, but i still cant login...

Maybe can be something about some bad session config in admin preferences, or some session conflict...

Im receiving the cookies. When i enter in the site i receive a cookie (session_xoops). This cookie expire about 1/2 hour after received, maybe because i changed in phpmyadmin the standard number time from 15 to 1500 (session_expire in table xoops_config).
The other cookie (PHPSSESID) i receive when i try to login. Both have the same id session.
But in table xoops_config have an usercookie (cat_id 10) named sitename_user, but i dont receive this cookie.

About php version, like i said, the site was working for more than a year, and i cant change the php version, im hosting the site in an external (not dedicated) server...

Im loosing my mind, the site is closed and i dont know what to do anymore!...

Im accepting any hint!!!



18
fbs777
Session doesnt working anymore (no more logins!)
  • 2006/4/2 18:18

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


No one can login in my site anymore.
If someone login, appears "welcome someone..." but then come back to the site without to be logged...

This is with all, registered and admin.

I searched here in forum and i found many guys with this problem, but each one was a different reason and different solutions. I tried each one and dont work...

What i tried and dont work:

- go to www.../admin.php
- try again many times
- delete the files in templates_c and check the permissions
- repair all the tables with phpmyadmin and than optimize them all
- clear the tables xoops_online and xoops_session
- remove the xoops_session and created again with the query:
Quote:
CREATE TABLE xoops_session (
sess_id varchar(32) NOT NULL default '',
sess_updated int(10) unsigned NOT NULL default '0',
sess_ip varchar(15) NOT NULL default '',
sess_data text NOT NULL,
PRIMARY KEY (sess_id),
KEY updated (sess_updated)
) TYPE=MyISAM;

- In each one of the experiments, i deleted the cookies and cache of the navigators, and the content of the templates_c in server

The site was working well for more than a year

Configuring to show the debug, dont show any error in php, just notices... Configuring to show debug of MySQL dont show any error...

I have another site in same server (hosted) just for test (testing XOOPS 2.2.4) and is working without problem.

In phpmyadmin, before and after repair/optimize the tables dont show any error in tables.

Just if i select all tables and choose check them shows many alerts, but even in the XOOPS 2.2.4 tables and another old tables of an old site the error appears, so i think this errors are normal:
Quote:
Problems with indexes of table `xoops_banner`
Warning PRIMARY and INDEX keys should not both be set for column `bid`
Problems with indexes of table `xoops_bb_posts`
Warning More than one INDEX key was created for column `topic_id`
Problems with indexes of table `xoops_bb_topics`
Warning PRIMARY and INDEX keys should not both be set for column `topic_id`
Problems with indexes of table `xoops_config`
Warning More than one INDEX key was created for column `conf_title`
Problems with indexes of table `xoops_newblocks`
Warning More than one INDEX key was created for column `mid`
Problems with indexes of table `xoops_priv_msgs`
Warning PRIMARY and INDEX keys should not both be set for column `msg_id`
Warning More than one INDEX key was created for column `to_userid`
Problems with indexes of table `xoops_ranks`
Warning More than one INDEX key was created for column `rank_min`
Problems with indexes of table `xoops_users`
Warning PRIMARY and INDEX keys should not both be set for column `uid`
Warning More than one INDEX key was created for column `uname`
Problems with indexes of table `xoops_wfs_category`
Warning PRIMARY and INDEX keys should not both be set for column `id`
Problems with indexes of table `xoops_wfschannel`
Warning PRIMARY and INDEX keys should not both be set for column `CID`



I was making many updates and was close to release the version 2.0 of the site when this error happened... I was waiting finish all the details to make a backup after the release, so i dont have a backup...

Now i close the site for visitors (and myself, because when i put the admin login, after the "welcome admin..." he return to the maintenance page) and now i'm waiting a solution to this...

Especifications:
remote server (access just with cpanel)
xoops 2.0.13.2
apache 1.3.34
MySQL 5.0.19-log
PHP 5.1.2



19
fbs777
Re: login doesnt login
  • 2006/4/1 16:31

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


Quote:

wolfk wrote:
...noone can login anymore, if u login on the page u get the message thank u for logging in please wait etc.

then the page reloads and u arent logged in.

any idea's on how to solve this problem?
I have the same problem.
In phpmyadmin, after check the tables the erros results are:

Quote:
Problems with indexes of table `xoops_banner`
Warning PRIMARY and INDEX keys should not both be set for column `bid`
Problems with indexes of table `xoops_bb_posts`
Warning More than one INDEX key was created for column `topic_id`
Problems with indexes of table `xoops_bb_topics`
Warning PRIMARY and INDEX keys should not both be set for column `topic_id`
Problems with indexes of table `xoops_config`
Warning More than one INDEX key was created for column `conf_title`
Problems with indexes of table `xoops_newblocks`
Warning More than one INDEX key was created for column `mid`
Problems with indexes of table `xoops_priv_msgs`
Warning PRIMARY and INDEX keys should not both be set for column `msg_id`
Warning More than one INDEX key was created for column `to_userid`
Problems with indexes of table `xoops_ranks`
Warning More than one INDEX key was created for column `rank_min`
Problems with indexes of table `xoops_users`
Warning PRIMARY and INDEX keys should not both be set for column `uid`
Warning More than one INDEX key was created for column `uname`
Problems with indexes of table `xoops_wfs_category`
Warning PRIMARY and INDEX keys should not both be set for column `id`
Problems with indexes of table `xoops_wfschannel`
Warning PRIMARY and INDEX keys should not both be set for column `CID`


So, there is 2 problems:
Warning PRIMARY and INDEX keys should not both be set for column `XYZ`
and
Warning More than one INDEX key was created for column `XYZ`

1 - How can i solve this warnings?
2 - The error "login but not login" is because these warnings?

If help:
XOOPS 2.0.13.2
apache 1.3.34
MySQL 5.0.19-log
PHP 5.1.2

I dont have access to the server (is not a local site), so the only way is by phpmyadmin.

I already run the "repair tables" and "optimize tables".

I deleted the xoops_session and created another one with the code:
Quote:
CREATE TABLE `xoops_session` (
`sess_id` varchar(32) NOT NULL default '',
`sess_updated` int(10) unsigned NOT NULL default '0',
`sess_ip` varchar(15) NOT NULL default '',
`sess_data` text NOT NULL,
PRIMARY KEY (`sess_id`),
KEY `updated` (`sess_updated`)
) ENGINE=MyISAM;



20
fbs777
Re: Webmaster member since 1969....
  • 2006/3/1 0:13

  • fbs777

  • Just popping in

  • Posts: 48

  • Since: 2005/1/9 4


I found my post on xoopsforge.org (owner of cbb), posted on 15/1:

http://xoopsforge.com/modules/newbb/viewtopic.php?topic_id=263&forum=1

They say this is a XOOPS bug (just the 2.2.x versions. The 2.0.x and 2.3.x dont have this bug)
Take a look in this post:

http://xoopsforge.com/modules/newbb/viewtopic.php?post_id=384#forumpost384

you will see the webmaster of xoopsforge (owner of cbb) with the same problem...




TopTop
« 1 (2) 3 4 »



Login

Who's Online

220 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

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

Latest GitHub Commits