PDA

View Full Version : AVCMS Patch 1.0.5 & 1.0.6



Andy
07-23-2015, 11:36 AM
Latest update: 1.0.6: Minor bug fixes

Previous update:

AVCMS 1.0.5 (AV Arcade 6.0.5, Wallpaper Site Script 2.0.5)

This update refines categories & the hit-counter. It also polishes the images content type to fix some bugs.



Fixes and polish for images
Make the hit counter IP-based rather than session-based to try and get more accurate hits
Allow categories to me nested infinitely. Previously you could only have two levels of categories.
Allow core content models to be filtered by a specific category
Create category menu items that only contain the sub-categories of a given parent category
Fix emails for unregistered users doing a link exchange
Updated core framework components


The update can be downloaded through your admin panel. If it's not showing on your dashboard, hit the cog icon on the top-left and check for an update.

Andy

Andy
07-23-2015, 12:00 PM
The translations website has been updated with the images strings.

Sett
07-23-2015, 04:20 PM
When I go look at my games in the admin panel and I filter by category, then I get this error


Fatal error: Call to a member function getId () on a non-object in /home/569842/public_html/portal/src/AVCMS/Bundles/Games/Model/GamesFinder.php on line 26


and this for wallpapers


Fatal error: Call to a member function getId () on a non-object in /home/569842/public_html/portal/src/AVCMS/Bundles/Wallpapers/Model/WallpapersFinder.php on line 43


Images


Fatal error: Call to a member function getId() on a non-object in /home/569842/public_html/portal/src/AVCMS/Bundles/Images/Model/ImageCollectionsFinder.php on line 26

retrosprite
07-23-2015, 09:57 PM
I still can't rearrange Image Gallerys. Is this a bug or just not a feature yet?

Andy
07-24-2015, 12:15 PM
@Sett - Thanks for the report. I updated the zip with fixes for those issues shortly after uploading it. The updated files are:

src/AVCMS/Bundles/Games/Controller/GamesAdminController.php
src/AVCMS/Bundles/Images/Controller/ImagesAdminController.php
src/AVCMS/Bundles/Wallpapers/Controller/WallpapersAdminController.php

@mycheatcentral - You can reorder images by dragging and dropping them in the admin panel when editing an image collection. You can drag by the handle next to the file name.

Sett
07-24-2015, 01:06 PM
Thank you Andy, everything works fine now. ;)


@Sett - Thanks for the report. I updated the zip with fixes for those issues shortly after uploading it. The updated files are:

src/AVCMS/Bundles/Games/Controller/GamesAdminController.php
src/AVCMS/Bundles/Images/Controller/ImagesAdminController.php
src/AVCMS/Bundles/Wallpapers/Controller/WallpapersAdminController.php

retrosprite
07-26-2015, 04:24 AM
@mycheatcentral - You can reorder images by dragging and dropping them in the admin panel when editing an image collection. You can drag by the handle next to the file name.

I guess there is a bug because I can't rearrange Image Collections with multiple images in Chrome or Firefox. A drag icon does appear next to each image but I can't grab or move them.

Andy
07-26-2015, 06:40 PM
Maybe try regenerating your assets to see if that helps.

retrosprite
07-26-2015, 08:45 PM
Maybe try regenerating your assets to see if that helps.

No that didn't help, I don't really understand why it isn't working. The cursor changes icon like I can grab or drag it but it wont.

http://i.imgur.com/GC2o7qq.png

Holly
07-27-2015, 05:06 AM
Hi, I updated the wallpaper script already but not the game script as yet. When I try to delete wallpaper category I get this message:

Save Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `order` ASC' at line 1

I wonder if this is happening to other people. My wallpaper site isn't live as yet. I'm going to add a screen shot.2053

retrosprite
07-27-2015, 05:19 AM
Hi, I updated the wallpaper script already but not the game script as yet. When I try to delete wallpaper category I get this message:

Save Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `order` ASC' at line 1

I wonder if this is happening to other people. My wallpaper site isn't live as yet. I'm going to add a screen shot.2053

I got that error too when I was trying to delete a game category.

retrosprite
07-27-2015, 09:27 AM
The download button is still buggy for images. When I click download it downloads a corrupt image file that won't open. I can right click to download the image but the download button gives me a corrupt image. If you want to try it on my website here is the link: http://www.retrosprite.com/images Also on Image Collections with multiple images I get a 505 error 'Cannot create zip'.

Andy
07-27-2015, 07:56 PM
For the delete categories issue,this can be fixed by replacing src/AVCMS/Bundles/Categories/Controller/CategoryActionsTrait.php with this: http://drop.avscripts.net/t9EA

@mycheatcentral - I'm not sure why you're getting corrupt images for downloads. Could you send me your ftp details for me to work it out?

retrosprite
07-27-2015, 08:30 PM
For the delete categories issue,this can be fixed by replacing src/AVCMS/Bundles/Categories/Controller/CategoryActionsTrait.php with this: http://drop.avscripts.net/t9EA

@mycheatcentral - I'm not sure why you're getting corrupt images for downloads. Could you send me your ftp details for me to work it out?

I'll send you my ftp details but I noticed after clearing the cache the images that downloaded corrupt before download now but collections with multiple images still give me 505 zip error. Also I still get errors with categories when I try to delete them. I don't know if it has anything to do with them being categories that I imported from that gamepack.

rizzler
07-27-2015, 09:08 PM
For teh next update, can you look this?

1: When editing an image, please make a thumbnail or something so you can se wich image you edit. I open several new tabs and since i only have the image name i forget wich image i am editing since i cant se it.

2: the possibilty to delete an image when you are in the editing section of that image.

Holly
07-27-2015, 10:47 PM
I'll send you my ftp details but I noticed after clearing the cache the images that downloaded corrupt before download now but collections with multiple images still give me 505 zip error. Also I still get errors with categories when I try to delete them. I don't know if it has anything to do with them being categories that I imported from that gamepack.

Hi, I still get errors with categories too.

Andy
07-27-2015, 11:42 PM
Sorry, the file to update to fix categories is actually src/AVCMS/Bundles/Categories/Model/Categories.php: http://drop.avscripts.net/1a2uM

Holly
07-28-2015, 07:19 PM
Sorry, the file to update to fix categories is actually src/AVCMS/Bundles/Categories/Model/Categories.php: http://drop.avscripts.net/1a2uM

thanks, It could delete categories with that code but now there are two new issues with categories.

1) when i delete a category with sub categories and move existing items(in sub category) to another category, the items won't be in the new category so i'll have to manual edit each item. The same thing happens when I delete a category with no sub categories.i only have one wallpaper on site for testing purposes...

2) this issue isn't major like the first one. i could delete categories and categories+sub categories with no problem but if i put a check on delete sub-categories on a category with no sub-categories it would say: Can't move items into a category that is about to be deleted. It would be fine if i uncheck the box.

2054

Andy
07-28-2015, 07:47 PM
Hi,

Really sorry about the category issues. Adding unlimited categories requires some major changes to the script. If you know the category ID of the deleted category I can provide a SQL query to move those orphaned items to a different category. What content type was the deleted category for?

To fix both of those issues, upload these files:

src/AVCMS/Bundles/Categories/Controller/CategoryActionsTrait.php: http://drop.avscripts.net/17JZj

src/AVCMS/Bundles/Categories/Model/Categories.php: http://drop.avscripts.net/HbKe

Andy

retrosprite
07-28-2015, 10:40 PM
Hi,

Really sorry about the category issues. Adding unlimited categories requires some major changes to the script. If you know the category ID of the deleted category I can provide a SQL query to move those orphaned items to a different category. What content type was the deleted category for?

To fix both of those issues, upload these files:

src/AVCMS/Bundles/Categories/Controller/CategoryActionsTrait.php: http://drop.avscripts.net/17JZj

src/AVCMS/Bundles/Categories/Model/Categories.php: http://drop.avscripts.net/HbKe

Andy

Thanks categories seem to work fine after these fixes.

retrosprite
07-30-2015, 12:31 PM
I think there is still a bug with image downloads. Sometimes all the Images and Image ZIP files that are downloaded are corrupt while other times they are fine. I haven't figured out why they sometimes all work and other times they are all corrupt.

Andy
07-30-2015, 03:15 PM
Maybe they are left over cached ones from before I tried my fixes? Or did you already clean the cache?

retrosprite
07-30-2015, 03:34 PM
Maybe they are left over cached ones from before I tried my fixes? Or did you already clean the cache?

Ok I think my issue is being caused by CloudFlare. When I disable CloudFlare it seems to download images correctly but when I enable CloudFlare Images are downloaded corrupted.

retrosprite
07-30-2015, 03:40 PM
Maybe they are left over cached ones from before I tried my fixes? Or did you already clean the cache?

Yeah CloudFlare is definitely causing images to be downloaded corrupted. Now if only I can figure out why...

retrosprite
07-30-2015, 03:56 PM
Under Speed in the CloudFlare panel I had to uncheck HTML for the Auto Minify feature. After I did that downloads are downloaded correctly. CloudFlare boasts about their speed enhancements yet I have to disable most of them to not cause issues lol.

Andy
07-30-2015, 04:03 PM
Ah I see, glad you worked out the cause.

Andy

Starnova
07-30-2015, 07:34 PM
@Andy
Andy I had some problems when trying to install and then after the message in the Dashboard says it cannot get update information...I am worried that it did not upgrade correctly.

Lots of errors I do not understand ... so I hope it is Okay that I enclose the error file

*Update: I re-uploaded the folders that were on the error file and things appear fine .... :>)

Holly
07-31-2015, 04:52 PM
Hi,

Really sorry about the category issues. Adding unlimited categories requires some major changes to the script. If you know the category ID of the deleted category I can provide a SQL query to move those orphaned items to a different category. What content type was the deleted category for?

To fix both of those issues, upload these files:

src/AVCMS/Bundles/Categories/Controller/CategoryActionsTrait.php: http://drop.avscripts.net/17JZj

src/AVCMS/Bundles/Categories/Model/Categories.php: http://drop.avscripts.net/HbKe

Andy

Thanks. Both issues are fixed. I hope that all the new fixes can be found in customer area so that i could download them again.

lkow77
08-08-2015, 06:25 PM
Andy,

1/ When I publish wallpaper module with specific category on my homepage, and setting list (not thumbnails) - images are broken,
2/ The same settings with button more, which should follow me to this specific category, but follows me to "browse wallpapers" (all wallpapers),

retrosprite
08-08-2015, 11:43 PM
I just noticed a bug. For Images and Games the 'Date Added:' shows the current date instead of the actual day it was added.

Andy
08-09-2015, 10:22 PM
Thanks for the continued reports, will get more fixes out this week.

retrosprite
08-10-2015, 01:02 AM
Thanks for the continued reports, will get more fixes out this week.

Thanks for the fixes but I have something to nitpick about(I know I nitpick about a lot). But on the Edit Profile page when the Updated Profile notification shows up, the notification box is overlapped around a pixel by the two tabs above it. Of course this only happens in Firefox and not Chrome so just take this issue with a grain of salt.

lkow77
08-15-2015, 09:02 PM
problem with sitemap.xml - not generating...

Andy
08-16-2015, 02:01 PM
Hi,

What do you see when you visit the sitemap.xml?

quolt
09-23-2015, 06:40 PM
Hello Andy, can u add some updates in new fix:
- "related wallpapers" module on wallpaper page;
- search by wallpaper names + tags.

Thank you in advance.

Andy
09-25-2015, 04:44 PM
Thanks for the suggestions :)

MagicTallGuy
11-13-2015, 02:22 AM
In the customer area version 6.0.5 of the arcade script is available for download, I had to download 6.0.6 through the notification in the admin area.

Also, if this thread has the 1.0.6 version then the thread should be named, AVCMS Patch 1.0.6, it might confuse users.

retrosprite
11-13-2015, 06:52 AM
Date Added for Games and Images still show the current date rather than the actual date they were added. Wallpapers show the correct date added.

ETHyper
11-13-2015, 09:43 AM
Should I download the version? Looks like some of you have errors. :S

retrosprite
11-13-2015, 09:55 AM
Should I download the version? Looks like some of you have errors. :S
The issue I posted also exists in the previous version. I ran into no issues upgrading to the newest version.

iMage
11-13-2015, 07:00 PM
Is this update going to reset all custom template edits if i upgrade? Or will i have to go back and edit things all over again?

Andy
11-14-2015, 10:39 AM
Your edits will not be removed :)

Starnova
11-15-2015, 11:00 PM
Thank you for the Upgrade Andy.. It went flawless :)

retrosprite
11-16-2015, 01:09 AM
Ok I noticed a issue that is present in 1.0.6 but not in 1.0.5. On mobile devices the buttons below the HTML5 games overlap or go underneath the games. Here is a image of the issue:

http://i.imgur.com/Cym80KS.png

It happens on Android and in Chrome you can view one one these HTML5 games (https://www.retrosprite.com/game/sushi-ninja-dash) and then re-size the browser to see it happen.

Andy
11-16-2015, 09:13 PM
Thanks for letting me know. This should fix it, upload this copy of src/AVCMS/Bundles/Games/resources/css/avcms_games.css: http://drop.avscripts.net/16Nce

And then regenerate the assets from the admin panel.

I have updated the zips with this fix.

retrosprite
11-16-2015, 10:08 PM
Thanks for letting me know. This should fix it, upload this copy of src/AVCMS/Bundles/Games/resources/css/avcms_games.css: http://drop.avscripts.net/16Nce

And then regenerate the assets from the admin panel.

I have updated the zips with this fix.

Thanks that fixed the overlap issue but now it creates a scrollbar, was that done on purpose?

http://i.imgur.com/MA4gtJp.png

Andy
11-19-2015, 07:37 PM
Okay here's another attempt to fix this issue, this time it's a full copy of the src/AVCMS/Bundles/Games folder to be replaced: http://drop.avscripts.net/18Rbr

Please clear the caches and regenerate assets after uploading.

retrosprite
11-19-2015, 11:52 PM
Okay here's another attempt to fix this issue, this time it's a full copy of the src/AVCMS/Bundles/Games folder to be replaced: http://drop.avscripts.net/18Rbr

Please clear the caches and regenerate assets after uploading.

Thanks that fixed it!