Webmastersite.net
Register Log In

refresh doesnt work anymore?

Comments on refresh doesnt work anymore?

mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
Posted Apr 08, 2009 - 5:43 PM:

hello,

i noticed something weird after the upgrade..

*when someone submitted a link that i edited.when i clicked save the browser kept on waiting ...the refresh moment..,but nothing happened..
when i checked the admin area it showed that the link was indeed edited..

*and...when i added the link it usualy refreshes and goes to the admin index...
also that didnt happen....,on the front side i saw that the link was added.

So where does this suddenly comes from?
Using firefox 3.0.8
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 09, 2009 - 11:24 PM:

It doesn't appear to submit the form? Do you have the "remove redirects where possible" option set to "yes" at Admin -> Settings -> General? Did you change any settings/switches recently?
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
Posted Apr 10, 2009 - 2:06 AM:

no paul....its set to no..
i cant imagine this happend only once..
i will let you know if it happens again..
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 12, 2009 - 1:13 AM:

At Admin Panel -> Misc -> Manage Redirects, what's the "After a user edits a link, send them to" value?

Are you talking about regular side edits or only admin panel edits?
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
Posted Apr 12, 2009 - 6:49 AM:

I HAVE
After a user edits a link, send them to : index.php?action=displaycat&catid={LINKCATID}

But i just added a site of myself.
This is what happend.
I submitted the site and mistyped a word.

i received the mails etc...
then in admin validation area i clicked EDIT.
That goes to: edit.php?action=link&field=id&fieldvalue=96564&c ondition=equals

I edited the link and clicked save changes.
But then the browser is in a loading state,and stays like that.
when i check the admin area and look at the information of my submitted site it shows the edits were done,so thats ok...
but the refresh to the other page doesnt seem to work.

i verified my email,so clicked the link in the mail....got verified and page refreshes...so thats no problem.

But again the funny part.
i approved my link and at the front it already shows but in admin it stays in a refreshing / loading state....but it seems it takes almost 2 minutes or so to finaly refresh.....so it did went to the refreshed page.
i remember it was faster before the latest 2 or 3 upgrades.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 13, 2009 - 4:33 AM:

When I edit a pending link, the edit page is the normal edit page and submitting it works the same as it always does.

I can make you an admin at http://sandbox.webmastersite.net/wsnlinks50/ if you want to try to recreate it there. You didn't fill in the example URL field, of course, so I can't tell you if I see an obvious edit link template problem or something.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
Posted Apr 13, 2009 - 8:08 AM:

i approved my link and at the front it already shows but in admin it stays in a refreshing / loading state....but it seems it takes almost 2 minutes or so to finaly refresh.....so it did went to the refreshed page.

so it works,but it takes a long time to refresh...

so can it handle almost 100.000 links cause it looks its getting slower..
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 14, 2009 - 2:12 AM:

MySQL can need a lot of memory to process updates to a table that big, especially when there are table indexes to rebuild.

I have 30,000 topics and 520,000 posts on a WSN Forum (same code). Submissions and edits were taking ages to process when I was on a VPS with limited RAM (I think it was 512MB guaranteed ram), but have been nice and fast since I moved to a new VPS with 1500MB guaranteed ram.

The links table ought to be smaller and thus faster than the posts table though, since it has much less text. So it's odd that it'd get slow at only 100,000, unless memory is especially limited. I'll try running some test insertions overnight.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 14, 2009 - 2:57 AM:

(Insertions didn't take overnight after all.)

I inserted 200,000 rows in the links table. Editing a pending link now takes 11 seconds to refresh to the redirect page. That's on my desktop computer, an AMD Sempron 1.8 GHz with 1.5 GB RAM.

I'll look into whether there are any queries I can cut from that.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
#10 - Quote - Permalink
Posted Apr 14, 2009 - 3:13 AM:

Well i have:

Intel core 2 duo e6750
2.64GHZ
RAM:1.98

i wonder what i can turn off in the wsn that could speed things up...
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#11 - Quote - Permalink
Posted Apr 15, 2009 - 5:27 PM:

There's nothing you can turn off that's likely to speed up edits much, except maybe the google maps if you're using that -- it's possible that the attempt to connect to google's server to retrieve the new geodata is running really slow.

They really shouldn't be slow with 2GB RAM, unless something else is eating all the RAM.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
#12 - Quote - Permalink
Posted Apr 15, 2009 - 5:45 PM:

no im not using google map,but i thought maybe its a good idea to try with internet explorer 8..

and thats faster !

jeez..faster then firefox...
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#13 - Quote - Permalink
Posted Apr 16, 2009 - 11:21 PM:

Must be something strange about your local setup or cookies, or maybe template HTML somehow messing up the redirect in firefox then.

I've been using Firefox 3, Opera 9.6 and Konqueror.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Comments: 110
mariow
#14 - Quote - Permalink
Posted Apr 17, 2009 - 3:19 AM:

mmmm, as for setup i use standard settings,als standard cookie settings.

plugins installed: firebug , java quick starter , microsoft net framework assistant , search status , unplug , and webdeveloper.

thats it...
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#15 - Quote - Permalink
Posted Apr 17, 2009 - 4:51 AM:

Vaguely possible that one of the plugins/extensions could interfere somehow. Recently somebody's templates weren't working for anyone with adblock installed because adblock blocks any directory named linkexchange.

It's hard to see how anything browser-related can affect the time it takes to submit a form, though -- it should just make the form not submit at all, if anything goes wrong.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.