2821
m0nty
Re: Big BUG or problem in Xoops 2
  • 2004/2/2 1:59

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


thanks mvandam, 1 of the articles in your post solved the problem, with a slight modification to the original post..

i noticed the limits on my version, i think they're default now at 200 not 1000... but i had to reduce it even more to 150 and it solved the problem..

so the code i changed is as follows (quoted from BradM):

I made the following changes to /modules/system/admin/groups/groups.php:

Line 117:
if ($usercount < 200 && $membercount < 200) {

change to:
if ($usercount < 150 && $membercount < 150) {

Line 164:
$members =& $member_handler->getUsersByGroup($g_id, true, 200, $memstart);

change to:
$members =& $member_handler->getUsersByGroup($g_id, true, 150, $memstart);

Line 174:
$nav = new XoopsPageNav($membercount, 200, $memstart, "memstart", "fct=groups&op=modify&g_id=".$g_id);

change to:
$nav = new XoopsPageNav($membercount, 150, $memstart, "memstart", "fct=groups&op=modify&g_id=".$g_id);

I was also having trouble using the 'edit user' admin function. So I adjusted some values in /modules/system/admin/users/users.php:

Line 55 (or there abouts):
$nav = new XoopsPageNav($usercount, 200, $userstart, "userstart", "fct=users");

change to:
$nav = new XoopsPageNav($usercount, 150, $userstart, "userstart", "fct=users");

Line 55 (or there abouts):
$criteria->setLimit(200);

change to:
$criteria->setLimit(150);

solved all the current problems.. thanks again mvandam & my thanks to BradM for the original post that put me on the right track..



2822
m0nty
Re: Big BUG or problem in Xoops 2
  • 2004/2/1 16:56

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


editing the php to add echo commands shouldn't be a problem as long as i know what echo command and where to place it and in which files..

the debug don't work cos the page gives an error 500 out..

but if any1 wants to check this i will give them the necessary permission to access admin..

mysql version 4.0.17 and latest stable php 4 and a linux server..



2823
m0nty
Re: User Avatar Problem
  • 2004/2/1 15:57

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


any help wud be appreciated, as some of the users custom photos are now beginning to mess the forums up, and i don't want to have to keep manually downloading the image and resizing it then uploading it back..



2824
m0nty
Re: News Module Cloning
  • 2004/2/1 15:50

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


thanks Brad,

so i'm right in thinking that none of the core files need to be changed? I can just copy the news module folder and change everything in there and it will work once done?



2825
m0nty
Re: Big BUG or problem in Xoops 2
  • 2004/2/1 15:36

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yes that's the same error..

error 500: internal erver error..

mt XOOPS version was XOOPS 2.0.5.0 but i updated using the patch and is now running as 2.0.5.2..



2826
m0nty
Big BUG or problem in Xoops 2
  • 2004/2/1 4:05

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i've had a problem now for a long while, and had no help with it..

all replies and suggestions failed to solve the problem..

until tonight, when i thought hmm, i'll just make a new user group.

so i made a new user group, no problems there..

then when adding users to that group, it was all going well till i hit abt 150 members..

it seems it throws an error up if i try to add more than a certain amount of members to a group..

once the group goes over a certain amount of users, it just gives me an error and clicking on the modify group throws the same error up.. which is what my original problem was.. I have 231 members and i can't modify the member group..

if i go into phpmyadmin and move members to another group so the member group is less than around 200 or so (not sure on exact figure) then i can then click the modify group and it works fine, but if more members register and it goes over that limit, then it throws the error up and stops me modifying or editing users!!!!!!



2827
m0nty
Re: Myalbum DIsaster UPGRADE~! help
  • 2004/1/31 16:44

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


I had the same problem last night after upgrading from 2.5 to 2.6...

the thumbnails were showing in the Random Picture Block, but when u went to the album home page, the thumbnails weren't showing in the latest listings and the submit and description were jumbled up.. When u went to the categories, the thumb nails appeared as normal, but when u clicked 1 to view it full size the image disappeared.. Right clicking on the Red X that appeared and choosing properties produced the line that the path to the image was in correct altho the correct path was there ie. modules/myalbum/photos/ but that's all it shown where's the correct path was modules/myalbum/photos/25.jpg you see the filename was missing..

i dunno why this happened, But doing what the previous posts mentioned and removing all the template files for the album 1 by 1 and then exiting and then re generating the template list.. Solved the problem 100%..

Maybe the programmer could look into that slight bug on upgrading for future users.



2828
m0nty
News Module Cloning
  • 2004/1/31 0:39

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


can some1 tell me exactly what files i need to copy so that i can make a full clone of the news module, so that i can edit the table names etc etc and add a few more here and there to make a module to suit my sites needs, i'm only toyin with the idea..



2829
m0nty
Re: Problem with restore database.
  • 2004/1/30 21:25

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


did u dump it as a cvs file or xml??

u need to dump it just as structure and data, also is an idea to use drop tables aswell..

in phpmyadmin this is done easily with tick boxex blah blah blah..

just save it as a text file (uncompressed)

if it saves it as .txt then then u just have to rename it to .sql (this will only work for txt files tho renaming a CVS or XML format will not work!!)



2830
m0nty
Re: Newbb with permanent flat??
  • 2004/1/30 21:19

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i dunno how to set it so it's flat as default for everybody, but if u want to set it to default for just yourself, then edit ur account and then select flat in the option provided...




TopTop
« 1 ... 280 281 282 (283) 284 285 286 ... 289 »



Login

Who's Online

224 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 224


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