Post by mmrvos » Sat Aug 28, 2010 4:03 am

Hi guys,

First of all thanx for amazing shop...it is very clean and with so many possibilities...thanx a lot... i already buy Mega options and Option Price Update because i am so loving this app...

Now,i have problem with my opencart...

I have opencart 1.4.8b and template default2...it was working very good,and than i installed Mega Option and Option Price Update...Those mods working also amazingly good...i love it,but after this installation i lost possibility to edit order in admin panel...when i click on "edit" beside some order i got empty page and in error log i get this message :
PHP Warning: fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0 in /customers/httpd.www/webwinkel/system/library/cache.php on line 27


...and i saw that if i click on module "Offers" and "Recommended" i also get same message and empty page...

Would you be so kind to help me please?

Best regards

M.Mrvos
Last edited by mmrvos on Fri Sep 10, 2010 3:34 pm, edited 3 times in total.

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by i2Paq » Sat Aug 28, 2010 4:11 am

These 2 mods, Mega Option and Option Price Update, I think you mean: Options Plus and Option Price Update made by Qphoria?

I have them running on 1.4.8b without issues so you must have done something wrong with adding/changing code.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by mmrvos » Sat Aug 28, 2010 4:27 am

Hi Thanx a lot for fast answer...

Global Mega Options and Option Price Update are 2 of mods that i added and yes,i think they are made buy Qphoria (for Option Price Update i am sure) but Global Mega Options i have buy on other website so i am not sure (website where i buy: http://www.alreadymade.com/shop/index.p ... duct_id=82 )

This was clean install and i am bussy with adding of products ( my shop is with about 7000 articles when i am finished),so i really need to fix this problem...an new clean install is not an option because i have used many many hours on this to make it working as i want and to add products...

It could be that i messed up some code because i edited lot of code to make it as i like...but i can't remember that i changed something before i added those 2 mods,thats why i think it have something to do with it...

Can you help me to search my error please? where shuld i look with this problem ?

Thanx in advance
M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by i2Paq » Sat Aug 28, 2010 4:52 am

I have a feeling that these 2 mods do not mix.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Qphoria » Sat Aug 28, 2010 4:58 am

They do not. for 1.4.9 I may redesign it again to try to improve compatibility with it but not sure yet

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mmrvos » Sat Aug 28, 2010 5:12 am

Thanx for answers guys...
Nice to have you here in this thread Qphoria :)

What you guys suggest ?

What shuld i do ?

Thanx in advance

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by i2Paq » Sat Aug 28, 2010 7:43 pm

As I have the 2 mods made by Qphoria and they work together so my suggestions is that you get the Options Plus as well to work with the Option Price Update you already have.

Or you leave the Option Price Update unused but I relay like it when having Options.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by mmrvos » Mon Aug 30, 2010 6:32 pm

Well, mega options changed my sql database also,so i am not sure if it's everything going to work ok after uninstallation of mega options and do i get options that i already made with this mod back or i need to make them all again with options plus ?

Is there any mod or addon for order edit that i maybe can install on top of everything so that my opencart became fully usable without uninstallation of mega options ?

Thanx in advance

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by JAY6390 » Mon Aug 30, 2010 6:46 pm

Why not just disable the cache? Open

Code: Select all

/system/library/cache.php
find

Code: Select all

                  $handle = fopen($file, 'r');
                  $cache = fread($handle, filesize($file)); 
and change it to

Code: Select all

                  $handle = fopen($file, 'r');
                  if(!filesize($file)) return false;
                  $cache = fread($handle, filesize($file)); 
That should fix it. To be honest, just deleting any files in /system/cache/ with a file size of 0 should fix this too

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by mmrvos » Tue Aug 31, 2010 7:08 pm

@JAY6390

I have tried your possibility but no change...page gets empty and with same message...

Thanx for try JAY

If you have any other solution i would be glad to try it....

1.4.9 is out... can i just upgrade or i need to to something before...?i am hoping toget it fixed with new version

Thanx in advance

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by mmrvos » Mon Sep 06, 2010 5:29 am

please guys,i need help with this...i still didn't fixed... my shop is not fully working with this problems....
Anyone any idea ?

Thank you in advance

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by mmrvos » Mon Sep 06, 2010 8:28 pm

Have anyone a clue how could i fix this ?

I have choose for opencart over ecommerce because of comunity and now i am stuck with something that no one can fix because i buyed some modules ? Come one developers...help me fix this please...

Thanx in advance

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by mmrvos » Wed Sep 08, 2010 3:54 pm

Would developer be so kind to leave me message here if this is possible to fix or not because i need this part of shop...it is very important...

Thanx in advance

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am

Post by mmrvos » Fri Sep 10, 2010 3:33 pm

Ok,it is solved...

i tried everything but no results...so i upgraded to 1.4.9.1...it is working great again...i expected to have to fix many many things in my mods but actualy everything worked at ones...amazing work guys...thanx a lot

Now...sinds i had problems with Mega option and Price update conflict modules... i have buy Option Plus and Price update...both from Qphoria...

Price update is working great like in 1.4.8b,but Option Plus not...i am getting empty page if i wanna edit module (i can activate it in extension/module,but can not edit it (to install it automaticly)...

I have opencart 1.4.9.1 (upgraded from 1.4.8b)

Do i need to install it manualy is it going to work or i have again some wierd unfixable problem ?

Thanx for great work guys

M.Mrvos

New member

Posts

Joined
Sat Aug 28, 2010 3:18 am
Who is online

Users browsing this forum: No registered users and 3 guests