Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bxbx

Pages: [1]
1
Discussion & Troubleshooting / Re: Number of Categories?
« on: May 16, 2006, 06:05:47 PM »
I replaced globals.php with a fresh copy and still get the same results.  The other night after I posted my original question I tried an experiment that I'll share with you. 

I looked at the change log for 1.7.2 and decided that maybe I would try the categories.php file in the admin folder from 1.7.2.  I replaced the categories.php in my 1.7.1 installation with the one from 1.7.2 and then I could see categories again.  The sitemap did still does not work though.  I am wondering what is different between the two versions that one works and one does not.  Maybe if I could figure that out I could fix my problem.

2
Discussion & Troubleshooting / Re: Number of Categories?
« on: May 14, 2006, 08:38:02 AM »
I am having some trouble with the categories on my installation.  I have 1474 categories and 17077 images that take up 5.9 GB of space.  I'm not sure around what category things stopped working but I can no longer view the Edit Categories page in the admin area.  It just comes up with an IE error message as if the page is totally missing.  I also have a sitemap mod installed and this stopped working too.  I use a custom script to add categories since I add so many at one time.  This script includes a part that autosorts alphabetically.  Is it possible that I have done something wrong with the cat_order field?  It worked just fine until about a day ago when I added about 100 new categories.  I am using version 1.7.1.  I know that 1.7.2 is out now but I have made so many modifications to 1.7.1 that it would be hard to basically start over from scratch.  Any ideas about what might be causing this issue would be greatly appreciated.

3
For PHP versions 4 through 4.2.0, if you replace:

Code: [Select]
$file_size = intval($file_size);
with:

Code: [Select]
$file_size = floatval($file_size);
it will give you the correct size.

I have not tested with all versions of PHP but you could also replace:

Code: [Select]
$file_size = intval($file_size);
with a float typecast:

Code: [Select]
$file_size = (float)($file_size);
and get the correct result.

I have tested both methods and they both return the proper size.

4
I just installed the PM version 2 mod and it works all except for one little part.  Step 13 says the following:

In /templates/<yourtemplate>/member_profile.html  use {lang_pm} tag
In /templates/<yourtemplate>/comment_bit.html use {comment_user_pm} tag to show link to PM the user

In comment_bit.html I have used this tag and nothing shows up.

I have also used the lang_pm tag in member_profile.html and that also shows nothing.  I have gone over the code a lot and I believe that I have installed it correctly.  What am I doing wrong?  What am I supposed to see?  Maybe I am just expecting something that is not supposed to happen with these.  Thanks.

Pages: [1]