https://www.icyphoenix.com/viewtopic.php?f=35&t=4894
-----------------------------------
Martyn
Mon 13 Oct, 2008 22:46

Fatal Error: Upload Images In Gallery
-----------------------------------
Just downloaded Icy Phoenix and installed it...

Seems to be working, except when I upload an image to the gallery I'm getting an error message as follows:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1245184 bytes) in /home/martyn83/public_html/ip_root/cache/tpl_mg_themes.bbcb_mg.php on line 242

Not entirely sure what to do to fix this? 


Cheers,
Martyn


-----------------------------------
Chaotic
Mon 13 Oct, 2008 23:10

Re: Hi
-----------------------------------
Hello Martyn,

"Hi" is not a very descriptive topic title that summarizes your problem.  Please edit your topic title to reflect your problem.  Also, please post only one problem per thread.  This helps others that may have the same problems as you when searching our support site.  One more thing, try to use search next time because all your problems are answered in previous topics.

We'll help you when you correct your post. :)


-----------------------------------
Martyn
Mon 13 Oct, 2008 23:11

Re: Hi
-----------------------------------
[quote user="Chaotic" post="33102"]Hello Martyn,

"Hi" is not a very descriptive topic title that summarizes your problem.  Please edit your topic title to reflect your problem.  Also, please post only one problem per thread.  This helps others that may have the same problems as you when searching our support site.  One more thing, try to use search next time because all your problems are answered in previous topics.

We'll help you when you correct your post. :)[/quote]

Right, title issue sorted...I'll split posts, though I'd just have thought one post made sense :)


-----------------------------------
Chaotic
Mon 13 Oct, 2008 23:15

Re: Hi - Image Gallery Prolbem
-----------------------------------
It makes more since you separate topics because they are not related.  If a user is having the same problem as you, they can use our search function to find the problem/solution.  How can they easily find a solution if multiple problems are addressed and corrected in one thread?  

Either way, thanks for taking the time to correct your posts.  :mricy: 

Try this solution and let us know if it worked for you:

[url=http://www.icyphoenix.com/viewtopic.php?f=4&t=4713]Fatal Error: Allowed Memory Size Of 8388608 Bytes Exhausted


-----------------------------------
Martyn
Mon 13 Oct, 2008 23:20

Re: Hi - Image Gallery Prolbem
-----------------------------------
[quote user="Chaotic" post="33105"]It makes more since you separate topics because they are not related.  If a user is having the same problem as you, they can use our search function to find the problem/solution.  How can they easily find a solution if multiple problems are addressed and corrected in one thread?  

Either way, thanks for taking the time to correct your posts.  :mricy: 

Try this solution and let us know if it worked for you:

[url=http://www.icyphoenix.com/viewtopic.php?f=4&t=4713]Fatal Error: Allowed Memory Size Of 8388608 Bytes Exhausted[/quote]

No php.ini file in the root, so I created one and it hasn't done anything :(

Does the php.ini file need <php tags or is it literally just the line that should be in that?

Cheers


-----------------------------------
Chaotic
Mon 13 Oct, 2008 23:26

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
Follow Lopalong's guide on creating a php.ini file:

http://www.icyphoenix.com/viewtopic.php?f=2&t=4846&p=32740#p32740


-----------------------------------
Martyn
Mon 13 Oct, 2008 23:30

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
[quote user="Chaotic" post="33108"]Follow Lopalong's guide on creating a php.ini file:

http://www.icyphoenix.com/viewtopic.php?f=2&t=4846&p=32740#p32740[/quote]

Done but still no joy sadly :(

Doesn't seem the error is restricted to just the gallery either?


-----------------------------------
Chaotic
Mon 13 Oct, 2008 23:32

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
Try clearing your cache and trying to upload a picture again.

ACP -> Configuration -> Clear Cache.


-----------------------------------
Martyn
Mon 13 Oct, 2008 23:37

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
[quote user="Chaotic" post="33111"]Try clearing your cache and trying to upload a picture again.

ACP -> Configuration -> Clear Cache.[/quote]

lol schoolboy stuff! 

Still no joy :( think something somewhere aint right :S


-----------------------------------
Chaotic
Mon 13 Oct, 2008 23:41

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
That's crazy.  Maybe someone else will have a solution as the topics I posted above usually do the trick.

Could you post a link to your site with a test account so we (others that may be able to help) can try it out?


-----------------------------------
Martyn
Mon 13 Oct, 2008 23:42

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
[quote user="Chaotic" post="33114"]That's crazy.  Maybe someone else will have a solution as the topics I posted above usually do the trick.

Could you post a link to your site with a test account so we (others that may be able to help) can try it out?[/quote]

Yeh...no probs with the link:

http://www.fiat-scotland.com/ip_root/album_showpage.php?pic_id=4

Cheers for the help btw...probably going to call it a night soon but will check the thread again tomorrow for possible fixes  :up:

(Update - Now it seems even starting a new topic in the forum draws this error - which it didn't do before  : )


-----------------------------------
New Player
Tue 14 Oct, 2008 11:04

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
[quote](tried to allocate 1245184 bytes)[/quote]

that is too much

[quote](Update - Now it seems even starting a new topic in the forum draws this error - which it didn't do before : )[/quote]

it seems you have a problem with the auto increments in the database
go to acp >> database maintenance >> Reset auto increment values


-----------------------------------
Martyn
Tue 14 Oct, 2008 19:59

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
Just tried that - and cleared the cache straight after. Still no joy sadly :(


-----------------------------------
Limun
Tue 14 Oct, 2008 20:20

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
try this

open your root/includes/[i]bbcb_mg.php [/i] and [b][color=red]backup it !!![/color][/b]

and then try do this 

FIND
[codeblock]<?php[/codeblock]
AFTER ADD
[codeblock]ini_set("memory_limit","16M");[/codeblock]

emty cache again and let me know


-----------------------------------
Martyn
Tue 14 Oct, 2008 20:30

Re: Fatal Error: Upload Images In Gallery
-----------------------------------
[quote user="Limun" post="33147"]try this

open your root/includes/[i]bbcb_mg.php [/i] and [b][color=red]backup it !!![/color][/b]

and then try do this 

FIND
[codeblock]<?php[/codeblock]
AFTER ADD
[codeblock]ini_set("memory_limit","16M");[/codeblock]

emty cache again and let me know[/quote]

Appears to have worked for the image gallery - THANKS! 

Will check the rest of the site and confim :)


