Site changes - 03/30/2012
- anonymous_object
- Site Admin
- Posts: 1584
- Joined: Tue Jan 24, 2006 2:04 pm
- Location: Good old US of A
- Contact:
Site changes - 03/30/2012
As some of you have noticed, shuushuu has been running a bit slow recently. Today, we've pushed out some updates that will increase site performance. This will benefit the main page as well as searches by decreasing load and wait times.
To achieve these improvements we had to change the way page numbers are displayed. It's a bit less detailed than before but I think the gains will be worth it.
Let me know if you encounter any problems! ^^
To achieve these improvements we had to change the way page numbers are displayed. It's a bit less detailed than before but I think the gains will be worth it.
Let me know if you encounter any problems! ^^
e-shuushuu!
Re: Site changes - 03/30/2012
Searching by user name returned an error:
Also for people who use Autopagerize or other extension like that, I have created a new XPath for E-shuushuu and submitted it to http://wedata.net/databases/AutoPagerize/
New XPath:
If people want to test, they can, and I would greatly appreciated it since I'm no expert in XPath. It should work, but I didn't test it intensively.
Code: Select all
Message
No data supplied for parameters in prepared statement
Code
2031
File
/storage/www/e-shuushuu.net/common/functions/db.php
Line
380
Backtrace
Array
(
[0] => Array
(
[file] => /storage/www/e-shuushuu.net/community/memberlist/index.php
[line] => 90
[function] => execute
[class] => db_stmt
[type] => ->
[args] => Array
(
)
)
)
New XPath:
Code: Select all
//div[@class='pagination']/ul/li[last()]/a
Merun @ Twitter
- anonymous_object
- Site Admin
- Posts: 1584
- Joined: Tue Jan 24, 2006 2:04 pm
- Location: Good old US of A
- Contact:
Re: Site changes - 03/30/2012
Fixed.Merun wrote:Searching by user name returned an error:
e-shuushuu!
Re: Site changes - 03/30/2012
Aham... might be because of this, so... http://e-shuushuu.net/image/0/ when it should come after http://e-shuushuu.net/image/488028/
Also when trying to upload something else,
Also when trying to upload something else,
Code: Select all
Message
Duplicate entry '0' for key 'PRIMARY'
Code
1062
File
/storage/www/e-shuushuu.net/common/functions/db.php
Line
380
Re: Site changes - 03/30/2012
Congratulation, you just broke Shuu's upload for everyone. Now that's some wonderful improvement for performance xD. No more uploads = faster!
Complete backtrace:
Complete backtrace:
Code: Select all
Message
Duplicate entry '0' for key 'PRIMARY'
Code
1062
File
/storage/www/e-shuushuu.net/common/functions/db.php
Line
380
Backtrace
Array
(
[0] => Array
(
[file] => /storage/www/e-shuushuu.net/common/functions/uploadimage.php
[line] => 144
[function] => execute
[class] => db_stmt
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /storage/www/e-shuushuu.net/upload/index.php
[line] => 37
[function] => submitFullImage
[args] => Array
(
[0] => /tmp/phpEWDQpi
[1] => 26220880.jpg
)
)
)
Merun @ Twitter
- anonymous_object
- Site Admin
- Posts: 1584
- Joined: Tue Jan 24, 2006 2:04 pm
- Location: Good old US of A
- Contact:
Re: Site changes - 03/30/2012
Can we have the option to go to the last page back or is an efficient mass tagging style (exclude the tag you're adding, start from back, images disappear when you add the tags, so you never double tag or miss anything) just SOL? :P
私は悪魔です。
Re: Site changes - 03/30/2012
I think that optimizing the website implied the removal of the "last page" button ^^;
Merun @ Twitter
- anonymous_object
- Site Admin
- Posts: 1584
- Joined: Tue Jan 24, 2006 2:04 pm
- Location: Good old US of A
- Contact:
Re: Site changes - 03/30/2012
Unfortunately, no. This change was required to fix performance issues.Yatchen wrote:Can we have the option to go to the last page back
I've read this sentence a few times and I'm still not sure what you're trying to say ^^;Yatchen wrote:or is an efficient mass tagging style (exclude the tag you're adding, start from back, images disappear when you add the tags, so you never double tag or miss anything) just SOL?
e-shuushuu!
Re: Site changes - 03/30/2012
She wanted the last page option back because many of the tagging team starts from the first page and work forward, rather than starting at the most current and working back. The last page button help with tagging old images more efficiently for images that weren't tagged properly before the tagging system was implemented.anonymous_object wrote:I've read this sentence a few times and I'm still not sure what you're trying to say ^^;Yatchen wrote:or is an efficient mass tagging style (exclude the tag you're adding, start from back, images disappear when you add the tags, so you never double tag or miss anything) just SOL?
- anonymous_object
- Site Admin
- Posts: 1584
- Joined: Tue Jan 24, 2006 2:04 pm
- Location: Good old US of A
- Contact:
Re: Site changes - 03/30/2012
Just reverse your sorting and start at page 1. This will achieve the same effect.Ran wrote:She wanted the last page option back because many of the tagging team starts from the first page and work forward, rather than starting at the most current and working back. The last page button help with tagging old images more efficiently for images that weren't tagged properly before the tagging system was implemented.
The issue is that the time to calculate the total number of pages for a complex set of images (like most searches) grows linearly as the number of records grows and the only way to show the last page link is to calculate the number of pages for a set of images. Shuushuu has reached a point where we have enough images, tags, and tag links that this is no longer efficient to do for every page load. This is why I have dropped the last page link.
e-shuushuu!
Re: Site changes - 03/30/2012
Haha, sorry, I didn't think it would be very clear. Anyway, it's a really effective system, but oh well I guess. :P
私は悪魔です。
Re: Site changes - 03/30/2012
Is it possible that during update some images might be lost? I'm asking since my overall image post amount is off. At first I thought that it might be late refresh but when I checked today numbers haven't change.
- anonymous_object
- Site Admin
- Posts: 1584
- Joined: Tue Jan 24, 2006 2:04 pm
- Location: Good old US of A
- Contact:
Re: Site changes - 03/30/2012
No, this should not have affected image counts. Where are you seeing these numbers?Isoroku22 wrote:Is it possible that during update some images might be lost? I'm asking since my overall image post amount is off. At first I thought that it might be late refresh but when I checked today numbers haven't change.
e-shuushuu!
Re: Site changes - 03/30/2012
I saw it on my profile, but it seems that it's alright now. After uploading today's share image post count is back to normal.