Toggle Content

Donations

Donate with PayPal!
Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
Anónimo $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Anónimo $ 10.00
minor $ 20.00

Recommended ISP

Article withdrawal not working

3.3 Forum ONLY: If you've run into a problem, such as an error message, blank page, or similar problem, this is where to look. Post any installation or other problems or questions here, and I and other users will try to help.
Responder al temaResponder al tema Versión Imprimible

Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 6:24 am

Hi LB,

I set an article to be withdrawn on the 3 Oct but it is still displaying on my site.

Have a look here. It's article id 248 (the orchid one). It was set to be withdrawn on the 3rd October but is still there. I haven't resolved the problem with timezones yet (linking to CPGNuCalendar is out by 5 hours for some reason still) so was wondering if it was that, but it should have been withdrawn a couple of days ago.

SQL for the schedule is showing

Code:
SELECT * FROM chantill_pronews_schedule WHERE dttime<=1286259798



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 7:18 am

Well 1286259798 is Tue, 05 Oct 2010 06:23:18 GMT so it should withdraw about now.

[ Use this site to convert. ]

I know that this worked fine in California when I and server were same timezone. And Rusty_ extensively tested in AUS with sever and user in different timezones in 1 direction. I have site in UK (user and server) for which every article is auto-withdrawn - successfully.

So I'm guessing your server must be somewhere other than France ...



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Mensajes: 1229
Registrado: Mar 18, 2006

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 7:24 am

It's in the US. This presumably (like the link to the calendar) is a problem between having the server time and the site time set differently?



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 8:46 am

Probably a bug - code is very complex. But first dude, *you* must know USA is a big place! Guiño Timezone please!



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Mensajes: 1229
Registrado: Mar 18, 2006

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 8:58 am

Oh alright.. Default timezone America/Chicago it says on phpinfo.



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 9:22 am

So there's the 5 hours from the CPGNuCalendar bug. Will take a look at that when I get a chance.

But this issue is more than 5 hours. Was going to ask for some debug info - but I see you have full debug turned on - so will look for myself! Guiño (You probably want to turn that off.)

Hmm. Can you check, but it looks as if your cms_pronews_schedule db file must be empty. The withdraw record either never got written, or has already been cleared, I guess. In case this is a one-off, can you re-edit to a date and time in a few hours time, and see if it disappears then please? Checking to see if a cms_pronews_schedule record does get written when you submit/save it would also be useful.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Mensajes: 1229
Registrado: Mar 18, 2006

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 9:53 am

I submitted a new article (id 249) and there is an entry in the schedule table.

Code:
	id	newstate	dttime
	249	0	1286730060



I edited the other article (248) and that appeared in the schedule table too.

I thought debug info only appeared to admins?



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 10:04 am

Sent PM on how to reset full debug.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Mensajes: 1229
Registrado: Mar 18, 2006

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 10:10 am

Done, thank you!



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 12:05 pm

Bizzarre. Having edited the article it withdrew it correctly. Very odd..



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 12:51 pm

It may well be a programming bug. It tries to accomplish a lot with very few db i/o's, so I may have let 1 slip through. But it will need > 1 example to have much hope of tracking it.

Once the time has passed it will "clean up after itself". It has to for the scheme to work, but it doesn't help tracking issues! Guiño

Did you edit the article much when you first set it up? That was the one area I was most concerned about - keeping the CPGNuCalendar entry constant while the article was being repeatedly edited.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Mensajes: 1229
Registrado: Mar 18, 2006

Re: Article withdrawal not working

Envio Publicado: Tue Oct 05, 2010 12:54 pm

I don't think I edited it a lot. I guess I'll just need to wait and see if it happens again. Sunday is the day of the next 'withdrawal'!



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Mensajes: 492
Registrado: Aug 01, 2007
Ubicación: Chantilly, France
Link  QR  Share this Versión Imprimible  facebook   myspace   twitthis  
Show more ...
Mostrar mensajes de anteriores:   
Responder al temaResponder al tema Página 1 de 1

3.3 Support

Cambiar a:  



Puede publicar nuevos temas en este foro
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro
You cannot attach files in this forum
Tu no puedes descargar archivos en este foro

Todas las horas son GMT






layingback Non-Human Terms of Use