-
AuthorPosts
-
bossep Friend
bossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 26, 2008 at 5:49 pm #128927This might not be related to JA at all but in total panic here.
1.I recive this error when trying to add a photo to an article and showing it on the front page.Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 600 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108
2. When going to the category level the articles appears as a list not in a nice layout. This is driving me crazy or crazier there is probably an easy answer to this but I cant find it!
3. The vidos dosent run in the video module but runs fine as embedded in a page.
I suspect this might be a problem with user rights on the new server but not sure.The reason for the move is a lot more trafic than ve expected most likely thanks to a nice looking site thanks to JA!
All the best
BosseP
http://www.guatemala-times.comMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
May 26, 2008 at 6:29 pm #2506201: If you have access to the php.ini file you can change the memory size there, if not ask your host to change it.
look for: memory_limit =
2: You should be able to change settings for that in the backend.
3:Maybe, i did not see that module published?cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
May 26, 2008 at 6:30 pm #250621<em>@bossep 55334 wrote:</em><blockquote>This might not be related to JA at all but in total panic here.
1.I recive this error when trying to add a photo to an article and showing it on the front page.Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 600 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108
2. When going to the category level the articles appears as a list not in a nice layout. This is driving me crazy or crazier there is probably an easy answer to this but I cant find it!
3. The vidos dosent run in the video module but runs fine as embedded in a page.
I suspect this might be a problem with user rights on the new server but not sure.The reason for the move is a lot more trafic than ve expected most likely thanks to a nice looking site thanks to JA!
All the best
BosseP
http://www.guatemala-times.com</blockquote>Is it possible that your database exceeded the limit for allowed transfers of databases? This is suggested by the error:
” Allowed memory size of 8388608 bytes exhausted…”
You might want to check the size of your database (download it using your phpMyAdmin, or something).
By the way, do you have a or plan to have a lot of images? If you do, do you optimize your larger images, so that their byte sizes will be about 50-150kb, at most? Your “mini” pics must be even less — 1-15kb. If not, you might consider optimizing your images. It will slow the upload of your page.
Cornelio
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 26, 2008 at 6:43 pm #250623Hello Manelto,
thanks for your quick reply!
1. My ISP changed to 12 Mb from 8 Mb no change. I do think that the error is wrong and that it has something to do with the rezised images.
2. Yes I know. But do you have any idea ware?
3. Yes took it off as it was looking ugly it just shows the box and title and white space for the videos.I also have problems to upload new modules from the admin so I defenatly have some isues with permisions on the new server.
BosseP
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 26, 2008 at 7:03 pm #250627Hello cgc0202,
Picture size: Yes I do optimize them before posting using photoshop seve for web. And also resizing to the exact format.
The smaller picures is handled from the JA modules I belive and I do think THAT is the problem. But I cant find it.
The db is probably OK as I dont have any problem with the text and it is pretty small at this point.Thanks for the ideas
BossePMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
May 26, 2008 at 7:22 pm #250631They should change to 32
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 26, 2008 at 7:30 pm #250632It is defenatly a problem with the resizing of images.
Does any one know what component is doing this?
I do think this componet needs execute rights and is blocked so therefore
the picures cant get resized and somthing goes wrong. when trying to show them on the front page.
If I make a new article I dont have a problem with the “detail” page the full size image shows OK.
When I go to a section it shows as a red X.
But on the frontpage it throws the fatal error.
So I have two problems:
1. No thumbs are being created.
2. when JA news dont find the thumb it goes mad.I will try to rename one of the “good” thumbs and see what happends.
BosseP
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 26, 2008 at 8:13 pm #250640OK Menalto I will tell them or do it my self.
Thankscgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
May 26, 2008 at 10:39 pm #250662I hope it will be resolved soon BosseP,
You are in good hands with Menalto. I depend on him too, when I have problems.
Cornelio
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 27, 2008 at 6:49 pm #250778After digging a bitt deeper into this I found that this is a database issue (I think)
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2400 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108I found this in my MySQL database:
bulk insert buffer size 8,388,608
bdb cache size 8,388,600I have no idea of how to increase this! Anybody else?
And I have no idea what this has to with line 108 in the file
“$src = imagecreatefromjpeg(JPATH_SITE.’/’.$image);”Things run In Layout headline_fp but throws the error in default_fp
I wonder way?Bosse
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
May 27, 2008 at 7:17 pm #250783Talk to your host if they can check your database settings and clean it up.
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 27, 2008 at 7:28 pm #250785Thanks Manelto,
So you think it some kind of db coruption? I will talk to them or see if I can do this trough plesk or something.Bosse
bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 28, 2008 at 4:00 pm #250894From the beginning:
1.I recive this error when trying to add a photo to an article and showing it on the front page.Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 600 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108
I have been diging deeper into this and the status is as follows I dont know if this is related at all but I start to suspect a little bug, God forbid.
For some reason the permisions gets set wrongly when creating the resized images only the Owner gets read permissions. So resized images shows with a red X after created. Any one knows way? I suspect there is a missing execute someware. Or a lib that are not installed.
The error only appers when I try to use default _fpas style not with headline_fp in the settings for mod_janews_fp
I really dont think this is related but…2. When going to the category level the articles appears as a list not in a nice layout. This is driving me crazy or crazier there is probably an easy answer to this but I cant find it!
** Got fixed by it self during a restore.3. The vidos dosent run in the video module but runs fine as embedded in a page.
I know whats wrong but not way and how to fix it:
I get this from my error log:
../templates/ja_teline_ii/highslide/highslide
For some reason I got an extra /highslide in the path. Any one knows how to fix this?bossep Friendbossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
May 28, 2008 at 8:01 pm #250937Manelto,
changed the memory to 32M in php.ini and it helped to get the page to load as it should. THANKS!
I should probably see what els might be missing there!
Do you have any idea of how to fix the read mode problem?
For now all resize get set to Owner only. -
AuthorPosts
This topic contains 17 replies, has 3 voices, and was last updated by bossep 16 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum