TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,165
  • Total Topics: 21,346
  • Online today: 678
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 304
  • Total: 304

Stack Overflow and Memory Error Messages - can't fix

Started by oneway, July 05, 2006, 10:31:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oneway

Quote from: Techdomain on July 08, 2006, 04:48:32 AM
Hey - a fellow aussie! I am no expert on many things... but I do know my way around phpmyadmin and mysql, so if you need any help, give me a yell!

YEEELLLL! *joking* Should have done 'coo-ee' I reckon. 8)

Anyway, better say g'day mate! First Aussie I've struck in SMF/TP.

I joined your forum. Clever logo!

From a post above maybe you can confirm this for me:

Quote from: onewayThey did suggest I use ini_set() to change the memory value. From searching php instruction pages it looks like I need to put ini_set (memory_limit = 16M) in php.ini. Is that right?

Oh sorry, on re-reading maybe that's not quite in your areas. Not to worry I'll give her a burl soon and see what turns up.

oneway

Quote from: IchBinIf that is the only php.ini file then ask them where are all these settings. This is just a chunk from my php.ini file on my linux server.

Man alive, IchBin, that php.ini code is astonishing! GoDaddy NEVER answer any questions about their server settings and the like. They politely refuse and that is that. Example from their last reply: "Unfortunately we are unable to disclose the default memory liimit of our shared hosting servers." Where they will give help I find them good, but they sure don't give out info. about their setup and procedures.

Okay did your test file and you can see results here: http://connect.twm.cc/phpinfo.php



Techdomain

Yep - thats way out of my league! I can convert sql databases by hand to be backwards compatible... I know all the ins and outs of exporting and building the suckers... but I know nothing about php.ini!

eeek

Your php info looks just like a default php setup to me. mem limit is set at 8mb.

All my sites run happily on 8mb :) My live site runs on 8mb in safe mode, on my test server I tend to use as restricted stuff as I can because if something works on it, it should work anywhere.  IchBins gallery problem I can understand as GD will be using all the memory it can get to work with pictures.  What you have there, that I can see, should run fine on 8mb.

The php.ini they have on the server will be the proper one, you wont get access to it, and they aint going to change it for you, being as they wont admit its even there.  Thats just and easy way to fob you off , because it IS there.

The php.ini you can see is the only things they are going to allow you to change.
A guess one will be Register Globals, the other - long arrays or magic quotes.

There is supposed to be a way to trick your way passed them adding settings to a .htaccess file but not something Ive done so cant help you there :)

IchBin

I agree with eeek. While I think that this may fix your problem if you could get it switched to 16M, you shouldn't have to for the setup your using now. Something is going crazy.... If this is a test install I would suggest sratching it and starting fresh just to see if it helps.

oneway

#25
Wow, that sounds amazing Techdomain. Thanks anyway.

Quote from: eeekThere is supposed to be a way to trick your way passed them adding settings to a .htaccess file but not something Ive done so cant help you there

I found that .htaccess thingy on a php help page. Tried it, but it didn't help unfortunately. I take your point about what they won't tell me. Silly me for believing them! :o

Quote from: IchBinâââ,¬Å¾Ã,¢
I agree with eeek. While I think that this may fix your problem if you could get it switched to 16M, you shouldn't have to for the setup your using now. Something is going crazy.... If this is a test install I would suggest sratching it and starting fresh just to see if it helps.

No it ISN'T a test install! I've worked full time on the forum/website for over a month now, and I was expecting to launch this weekend!!! :'( :knuppel2: :tickedoff:

I'm a 'positive' like you IchBin. My Beloved says I'm a persistent blighter! ;) So I guess I'll just continue working backwards with php files (changing the last modified file back to original till I get back to a config. that stops playing up.

Thanks for all the help. I'm so worn out from all this. Guess I'll see you very kind blokes in a few months' time....  ???

oneway

I'm also taking out my dozen or so frontpage articles. Code of any complexity in them can behave quite badly, e.g., a form I created interacted with other parts of the page messing it up completely. It insisted on inserting the following spurious code within the form, the code ending up IN the 'Message' box!

</body></html></HTML>

I found NO way to stop this (the form was fine used alone), and am now setting up articles using the Custom Actions Mod, where the code you input doesn't interact with the rest of the page.

Maybe this will help my problems, I don't know, but I have had concerns about how article code bahaves.

oneway

#27
IMPORTANT NOTE!

With kind help from others, this problem has FINALLY been identified, and shown pretty conclusively to be Javascript, i.e., I can stop it in IE6 but turning off scripting.

So now we know. :D

It's been a rather long and arduous task finding what the problem is. Unfortunately now there's more work for me as I set about trying to find just WHERE the JS problem is in my files.

I'll update when this happens and tell you what it is (but please don't hold your breath, cos I can't see this happening by 10am tomorrow!)

EDIT: someone please say hello or something here cos I seem to be doing all the posts and that makes me feel uncomfortable... (and lonely) :-\

G6Cad

You are not lonley ;)
We are all here and reading, this is quite imortant to know to, so please keep up the information on your findings :)

eeek

Im watching :)

Now this may be nothing to do with anything..Just browsing from me laptop with visual studio on it..went to your site and got the error with the option to debug :)

If I open the page in Visual Studio it tries to debug /Themes/default/script.js

and points to a function called -> window_oldAvatarOnload();

find it here
Quoteif (typeof(window_oldAvatarOnload) != "undefined" && window_oldAvatarOnload)
   {
      window_oldAvatarOnload();
      window_oldAvatarOnload = null;
   }

No idea what it means  :o other than have you done anything to Avatars? or got any strange ones?

This website is proudly hosted on Crocweb Cloud Website Hosting.