Post by aljawaid » Sun Nov 16, 2014 1:20 pm

Hello, can anyone kindly help?

When I click on Special Offers in my footer, I get the attached picture as an error.

But When I go to the special.tpl file and go to line 105, I can't make sense of what is wrong...it never used to be an issue before so definitely I messed it up somehow.

Code: Select all

<div class="buttons">
  <div class="pull-right"><a href="<?php echo $continue; ?>" class="btn btn-primary"><?php echo $button_continue; ?></a></div>
   </div>
   <?php } ?>


Can anyone help?

Attachments


Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by uksitebuilder » Sun Nov 16, 2014 6:50 pm

That has been fixed @ github along with a couple of other pages that show the same error.

https://github.com/uksitebuilder/openca ... b0916ea41b

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Sun Nov 16, 2014 9:14 pm

uksitebuilder wrote:That has been fixed @ github along with a couple of other pages that show the same error.

https://github.com/uksitebuilder/openca ... b0916ea41b

Thanks for this, is it as simple as removing and adding the codes shown in your github link?

Or should I wait for oc2.1 to be released.

I was hoping to have my shop live by start of december so kind of panicking

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by uksitebuilder » Sun Nov 16, 2014 10:43 pm

Although it has been mentioned that the next release will be soon, there's no mention of an exact date.

At the moment github seems to be for bug fixes (no new or partial development) so I would say it is safe to grab all files from there and upload.

Backup old site first

As there are no config files, you should be ok to upload all files etc to overwrite existing files

I check github regularly for any new changes and apply them after checking they are just fixes


Sent from my iPhone using Tapatalk

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Sun Nov 16, 2014 10:49 pm

uksitebuilder wrote:Although it has been mentioned that the next release will be soon, there's no mention of an exact date.

At the moment github seems to be for bug fixes (no new or partial development) so I would say it is safe to grab all files from there and upload.

Backup old site first

As there are no config files, you should be ok to upload all files etc to overwrite existing files

I check github regularly for any new changes and apply them after checking they are just fixes


Sent from my iPhone using Tapatalk
thanks for that, I will start looking into it :)

at least you know how to recognise the fixes and read the language :) and your way of explaining is very comprehensive

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by fido-x » Sun Nov 16, 2014 11:13 pm

I brought this one up in the OC 2 Issues topic. See viewtopic.php?f=181&t=131683&start=80#p522724

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by uksitebuilder » Thu Nov 20, 2014 4:17 pm

You have to be careful now downloading from github as Daniel has made a big change to a lot of files last night and also a database change which could make matters worse if yuo simply replace a file or two

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Thu Nov 20, 2014 5:14 pm

uksitebuilder wrote:You have to be careful now downloading from github as Daniel has made a big change to a lot of files last night and also a database change which could make matters worse if yuo simply replace a file or two
Thanks for the information. I really wish there was more consistency in the planning and rollout of this version.

OpenCart2.0 has taught me that to do this kind of stuff a business should pay. There is no "save the money and learn for yourself" feature here. I feel blind working in OC2.0 and besides the forums there are no other resources to help walk through it. This Daniel guy does not help.

3 months of working with OC2.0 without applying it live.

Thanks for the heads up anyway.

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by uksitebuilder » Thu Nov 20, 2014 7:24 pm

OC 2.0 was a complete hash to be honest.

Github is the development platform and needs to be treated very carefully.

Although bugfixes are made there, future development of unfinished features and as has happened last night a complete re-coing of the mosule system, also can happen.

I follow the changes on github and before the module changes last night, it was mainly bugfixes that were being updaed in the code and so it was pretty safe to just download and apply those files to current 2.0 sites

However, after last nights changes to the module system, it's now a case of be very careful with the github code for updating 2.0 files as it may break the module you are having problems with completely.

I would now advise waiting for the next release if you are unsure about applying fixes from github code, or continue to post on the forum and you may get help with that particular fix.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Thu Nov 20, 2014 8:38 pm

Thanks for your input, if only we knew when the next version would be out.

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by aljawaid » Fri Nov 21, 2014 5:36 am

hello

since i replaced the files, I just noticed I cannot access my modules in admin!

this is the error on homepage:
Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121Warning: DOMDocument::loadXML(): Empty string supplied as input in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 130Notice: Trying to get property of non-object in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 141

this is from my error log in admin:

2014-11-20 12:59:37 - PHP Notice: Undefined index: redirect in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/checkout/reward.php on line 71
2014-11-20 12:59:43 - PHP Notice: Undefined index: redirect in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/checkout/reward.php on line 71
2014-11-20 12:59:49 - PHP Notice: Undefined index: redirect in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/checkout/reward.php on line 71
2014-11-20 13:00:08 - PHP Notice: Undefined index: redirect in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/checkout/reward.php on line 71
2014-11-20 15:39:28 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:39:28 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:39:28 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 15:44:04 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:44:04 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:44:04 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 15:51:00 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:51:00 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:51:00 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 15:51:54 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:51:54 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:51:54 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 15:52:45 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:52:45 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:52:45 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 15:56:44 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:56:44 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 15:56:44 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:04:35 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:04:35 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:04:35 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:05:58 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:05:58 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:05:58 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:07:12 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:07:12 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:07:12 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:10:16 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:10:16 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:10:16 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:13:45 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:13:45 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:13:45 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:14:44 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:14:44 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:14:44 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:17:04 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:17:04 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:17:04 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:18:12 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:18:12 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:18:12 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:23:51 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:23:51 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:23:51 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:32:31 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:32:31 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:32:31 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:37:28 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:37:28 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:37:28 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:44:05 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:44:05 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:44:05 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:54:38 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:54:38 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:54:38 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 16:57:07 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:57:07 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 16:57:07 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 17:14:01 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 17:14:01 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 17:14:01 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 21:01:33 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 21:01:33 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 21:01:33 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 21:05:54 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 21:05:54 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 21:05:54 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 21:27:21 - PHP Notice: Undefined index: product in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 21:27:21 - PHP Warning: array_slice() expects parameter 1 to be array, null given in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 24
2014-11-20 21:27:21 - PHP Warning: Invalid argument supplied for foreach() in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/catalog/controller/module/featured.php on line 26
2014-11-20 21:30:34 - PHP Notice: Error: Could not load model /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/model/extension/module.php! in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/system/modification/system/engine/loader.php on line 24
2014-11-20 21:31:14 - PHP Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121
2014-11-20 21:31:14 - PHP Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121
2014-11-20 21:31:14 - PHP Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121
2014-11-20 21:31:14 - PHP Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121
2014-11-20 21:31:14 - PHP Notice: Undefined index: xml in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 121
2014-11-20 21:31:14 - PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 130
2014-11-20 21:31:14 - PHP Notice: Trying to get property of non-object in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/controller/extension/modification.php on line 141

did I mess up my controller files by replacing the master files from github? I downloaded the file a few days ago but copied them over this morning and now noticed this.

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by uksitebuilder » Fri Nov 21, 2014 6:03 am

Try replacing the original ones from the 2.0 download

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Fri Nov 21, 2014 6:12 am

uksitebuilder wrote:Try replacing the original ones from the 2.0 download

Hello, thank you for your reply, I did what you said and I got the error below in admin to view my modules:

Notice: Error: Could not load model /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/model/extension/module.php! in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/system/engine/loader.php on line 24

The homepge still shows the error for featured.php but i will probably remove that module once I get access to it.

Any ideas? Do I need to do a clean install???

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by aljawaid » Fri Nov 21, 2014 6:15 am

this is the loader.php file bold text is line 24


public function model($model) {
$file = DIR_APPLICATION . 'model/' . $model . '.php';
$class = 'Model' . preg_replace('/[^a-zA-Z0-9]/', '', $model);

if (file_exists($file)) {
include_once($file);

$this->registry->set('model_' . str_replace('/', '_', $model), new $class($this->registry));
} else {
trigger_error('Error: Could not load model ' . $file . '!');
exit();
}
}

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by aljawaid » Fri Nov 21, 2014 11:19 pm

anyone?

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by uksitebuilder » Fri Nov 21, 2014 11:47 pm

I had that problem myself yesterday

In the end I started afresh with the latest download from gitHub

I still have the other installation though, so will try to see if i can fix it to offer up a suggestion for you.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Sat Nov 22, 2014 12:00 am

ok great

I was avoiding a fresh install today as another day gone by and was hoping they would release the stable version so I could get working on the proper build.

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Post by uksitebuilder » Sat Nov 22, 2014 5:41 pm

I got this to stop displaying a blank page by uploading the following from the default OC2.0 download

admin/model/setting/extension.php
admin/controller/extension/module.php
admin/view/template/extension/module.tpl

Top of page looks a bit weird, but you can access and edit modules now

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by aljawaid » Sat Nov 22, 2014 11:34 pm

uksitebuilder wrote:I got this to stop displaying a blank page by uploading the following from the default OC2.0 download

admin/model/setting/extension.php
admin/controller/extension/module.php
admin/view/template/extension/module.tpl

Top of page looks a bit weird, but you can access and edit modules now
Thank you for this, it lets me get into modules now but two things:

I get this error for layouts: Error: Could not load model /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/admin/model/extension/module.php! in /customers/7/6/f/pennyprofits.co.uk/httpd.www/store/system/engine/loader.php on line 24

admin/model/setting/extension.php does not exist in mast file or in oc2.0 file for me to replace

Should I just do a clean install? It doesn't seem worth the wait for next oc version

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 2 guests