• Welcome to Simple Machines Community Forum. Please login or sign up.
September 18, 2021, 10:28:23 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Core files & Undefined variable errors....

Started by GrayFox, February 19, 2008, 09:29:36 PM

Previous topic - Next topic

GrayFox

Legal? What? I'm confused now...
And how can I check that?

MrPhil

Quote from: GrayFox on February 25, 2008, 11:14:29 PM
Legal? What? I'm confused now...
And how can I check that?

The statement was illegal (invalid) for SQL because it was trying to set an integer (a number) to an empty string (a completely different data type). Changing the default to 0 (a number) should allow the operation to proceed. My concern was whether that might cause a problem somewhere. I think it will be OK, because the field definition doesn't permit a "null" value, so the closest thing to an empty string that's valid would be a 0 (zero). Definitely a bug in the backup code.

GrayFox

Ok... now I just need to wait for my friend to show up... he's the one that takes care of this. Haven't seen him around in a few days though... must be busy.

Sarge

Let us know how it goes. :)

If your friend doesn't show up, I'm willing to try and fix things for you. Send me a PM if you want.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

GrayFox

That error is gone. New one...

QuoteERROR 1067 (42000) at line 494: Invalid default value for 'catOrder'

I guess I'll try to fix it the same way....?

Sarge

Yes. Again, the default value should be 0, not ''.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

GrayFox

March 03, 2008, 02:43:33 AM #26 Last Edit: March 03, 2008, 02:50:15 AM by GrayFox
Ok, there was ANOTHER error just like that.... replaced the value... now it's working!

EDIT: Hmmm.... It's still creating core.xxxx files, but at a much slower rate! I've seen one so far... maybe there won't be anymore.

Sarge

Good to know it's working now! :D

Have you contacted your host about the core.xxxx files? Your host should be in the best position to investigate and find out why you are getting the core dumps.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

GrayFox

Well, we got an upgrade.... I don't know if they moved us to a new server or what. I guess I should get my friend to ask them more about this.

Also, I just checked now, and there are 7 of them.

howardmoon

im getting them every 20 mins or so too grayfox.

it sucks.

Sarge

As I suggested, have you contacted your host?

Something that you can do that could help is reset file permissions: Admin > Packages > Options tab > Cleanup Permissions section > "All files are writable." After that, do some testing (browse the forum, post etc. and check for core dump files).

I advise resetting permissions again by applying "Only the standard files are writable." after you're done with testing.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Captain Kaos

Hey guys one thing i have noticed , is that on v1.1.5 and 114  is the only time i get these core files
i have a v2 beta on  the same server and no core files , i have been talking with host and all the smf forums have same issue, ??? If i come up with any more ill post
upgrading one more to beta for a test
Captain Kaos
© 2009 Kaos.Inc
Powered by Mac OSX
-----------------------------------
"There are no stupid Questions"
Only stupid people that don't ask them !!!!

Captain Kaos

Hey guys i dont know if this will help
My ISP went to a new server and also upgraded the PHP version v5 ?
2 things i noticed i have 3 SMF's running
2 on phpv5 (1.1.5)- all had core files
1  on phpv5 (2 beta )- no core files

So i swapped the 2, 1.1.5v back to PHPv4 and no more core files
Now i aint no programmer, but either SMF or PHP have an issues when v1.1.5 and PHPv5
are together,  This cant be to hard to work out now what the problem is ?
why does the v2Beta not have an issue ?    Is it that different ?

Hope this helps guys
Thanks
Captain Kaos
© 2009 Kaos.Inc
Powered by Mac OSX
-----------------------------------
"There are no stupid Questions"
Only stupid people that don't ask them !!!!

青山 素子

It has to be some configuration issue. I've been running the 1.1 series including 1.1.5 under PHP5 (5.2.5 at the moment) for some time and no issues here.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: