Extension installer trouble


Hello,

I'chiliad a new user of Opencart version 2.3.0.two.
I meet several problems :
When I upload an image in the image manager, I take this error message : Alert : file could non exist uploaded for an unknown reason !
But I can add image in the /prototype/catalog/ binder by ftp with filezilla.

The other trouble is nigh extension installer. When I effort to upload a *.ocmd.aught file, the loading bar is reddish and stops at about 20% and I become the bulletin : File could non be found.

Has anyone any thought of ​​the solution?

Thank you very much.




Joined

Thu Nov 03, 2011 xi:13 pm

Re: Extension installer problem


Post by paulfeakins » Fri January 06, 2017 6:37 pm

Have you lot double-checked your FTP settings in the admin?


For quick, professional person OpenCart support please email info@antropy.co.uk


User avatar



Joined

Mon Aug 22, 2011 11:01 pm

Re: Extension installer problem


Mail by IP_CAM » Friday Jan 06, 2017 ix:22 pm

Many OC-2 extensions cannot exist installed, as they should, by the OC-installer. Yous should therefore analyze each 1 of those extensions offset, if they consist of a single xxx.ocmod.xml file only (possibly as well with an empty Subdirectory, and a xxx.txt file, you better unzip those extensions on your PC, and then, install the unzipped 30.ocmod.xml ONLY. And if the File independent itself is Non titled xxx.ocmod.xml, rename information technology, to include xxx.OCMOD.xml, and effort to install it again.

Information technology's a trail & error game, lately, like everything else around hither, so, don't requite upwards ! And if you cannot achieve it, come dorsum here and inform us, what the exact content of such an Extension is, to possibly get more info on this. But since the NOTIFICATION Routine does not work anymore around here, don't expect someone to respond fast, information technology's a trail and fault Game as well, to find postings again, waiting for a reply ... :crazy:
Adept Luck! ;)
Ernie

PS: Simply brand certain, to have something similar one of those below installed first:
https://www.opencart.com/alphabetize.php?rout ... n_id=22308
---
https://www.opencart.com/index.php?rout ... n_id=18892
---
https://www.opencart.com/alphabetize.php?rout ... n_id=19862

Concluding edited past IP_CAM on Sabbatum January 07, 2017 12:32 am, edited i time in total.


My Github OC Site: https://github.com/IP-CAM
4'800 + FREE OC Extensions, on the World's largest Github OC Repository Annal Site.


User avatar


Re: Extension installer problem


Post by renemilone » Fri Jan 06, 2017 eleven:36 pm

Give thanks yous for your answers.

Yes I checked my ftp setting.

I will look at all your solutions and I will requite you a feedback.
thank you very much.




Joined

Thu Nov 03, 2011 11:13 pm

Re: Extension installer problem


Post by renemilone » Sat Jan 07, 2017 seven:17 am

Hello Opencartmart,

opencartmart wrote:Seems permission issue on arrangement/storage/upload directory.

Enable error reporting of php for getting detail fault. Add following line in admin/alphabetize.php and try again to install. It will print the error.

Code: Select all

                          ini_set('display_errors', i); ini_set('display_startup_errors', 1); error_reporting(E_ALL);                                                  

The code was in identify in admin/alphabetize.php

Here is the fault code when I try to load an image into the image director :
2017-01-06 17:03:55 - PHP Alarm: is_file() expects parameter 1 to be a valid path, assortment given in /home/cours/public_html/bazaar/admin/controller/mutual/filemanager.php on line 525

And this is the 525 line code : if (!empty($this->request->files['file']['name']) && is_file($this->request->files['file']['tmp_name'])) {

Practise yous accept an idea ?

Thank you




Joined

Thu November 03, 2011 11:13 pm

Re: Extension installer problem


Post by renemilone » Saturday Jan 07, 2017 7:42 am

IP_CAM wrote:Many OC-ii extensions cannot be installed, as they should, by the OC-installer. Y'all should therefore clarify each one of those extensions showtime, if they consist of a single xxx.ocmod.xml file only (peradventure also with an empty Subdirectory, and a xxx.txt file, you improve unzip those extensions on your PC, so, install the unzipped xxx.ocmod.xml ONLY. And if the File contained itself is NOT titled xxx.ocmod.xml, rename information technology, to include 30.OCMOD.xml, and try to install it once more.

It'southward a trail & error game, lately, like everything else around here, so, don't requite upward ! And if you cannot achieve information technology, come back here and inform us, what the exact content of such an Extension is, to possibly get more than info on this. Just since the NOTIFICATION Routine does not work anymore around here, don't look someone to answer fast, it'due south a trail and error Game as well, to find postings again, waiting for a reply ... :crazy:
Good Luck! ;)
Ernie

PS: Simply make sure, to have something like one of those beneath installed first:
https://www.opencart.com/alphabetize.php?rout ... n_id=22308
---
https://www.opencart.com/index.php?rout ... n_id=18892
---
https://www.opencart.com/index.php?rout ... n_id=19862

Cheers IP_CAM,

I have tried the extensions that you lot suggested to me and I have checked the names of the files.
I all the same encounter the same problem: file not found!




Joined

Thu Nov 03, 2011 11:13 pm

Re: Extension installer problem


Post by IP_CAM » Sat Jan 07, 2017 9:42 am

You would not accept to examination all extensions mentioned, simply install ane of them, because
they likely all do the same, and if yous still where unable to upload a Modernistic, even according
to my advises above, you must have been doing something wrong. ::)

So, you'll need to show something, or better, get one of the known Pro'southward around here, to
have a look, ane cannot guess on an error bulletin, unaware of, how your Software is
installed and works.
Good Luck, nothing personal ! ;)
Ernie


My Github OC Site: https://github.com/IP-CAM
4'800 + Gratis OC Extensions, on the Earth'southward largest Github OC Repository Archive Site.


User avatar


Re: Extension installer trouble


Mail service by opencartmart » Sabbatum Jan 07, 2017 i:15 pm

renemilone wrote:
Here is the error lawmaking when I endeavor to load an image into the image manager :
2017-01-06 17:03:55 - PHP Warning: is_file() expects parameter 1 to be a valid path, array given in /dwelling/cours/public_html/bazaar/admin/controller/common/filemanager.php on line 525

Is the line number right? Or have you modified admin/controller/common/filemanager.php? Because in original file at that place is no line number 525?


XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional person support? Skype: opencartmart

Re: Extension installer problem


Post past renemilone » Sat January 07, 2017 one:39 pm

IP_CAM wrote:Y'all would not have to test all extensions mentioned, just install one of them, because
they likely all do the aforementioned, and if y'all all the same where unable to upload a Modern, even according
to my advises to a higher place, y'all must take been doing something wrong. ::)

So, you'll need to show something, or amend, become ane of the known Pro's around hither, to
have a look, one cannot judge on an mistake message, unaware of, how your Software is
installed and works.
Good Luck, nothing personal ! ;)
Ernie

Give thanks you lot very much IP_CAM,

Indeed in that location must be a trouble.
I used the services of an opencart developer to upgrade my opencart from i.4 to 2.three.
And I volition contact him to check these bug.

thanks so much.




Joined

Thu Nov 03, 2011 11:thirteen pm

Re: Extension installer problem


Post past renemilone » Sat Jan 07, 2017 1:44 pm

opencartmart wrote:

renemilone wrote:
Here is the error lawmaking when I try to load an image into the epitome manager :
2017-01-06 17:03:55 - PHP Warning: is_file() expects parameter 1 to be a valid path, array given in /habitation/cours/public_html/boutique/admin/controller/common/filemanager.php on line 525

Is the line number correct? Or accept you modified admin/controller/mutual/filemanager.php? Because in original file there is no line number 525?

thank y'all very much opencartmart
No I have not modified anything in this file.
As I said in a higher place, it is not me who did the upgrade of the version and I will contact the person who made information technology.




Joined

Thu Nov 03, 2011 xi:13 pm

Re: Extension installer trouble


Post by renemilone » Sat Jan 07, 2017 2:02 pm

renemilone wrote:

opencartmart wrote:

renemilone wrote:
Hither is the mistake code when I effort to load an prototype into the image managing director :
2017-01-06 17:03:55 - PHP Alarm: is_file() expects parameter one to be a valid path, array given in /home/cours/public_html/boutique/admin/controller/common/filemanager.php on line 525

Is the line number correct? Or have you modified admin/controller/common/filemanager.php? Considering in original file in that location is no line number 525?

thank you very much opencartmart
No I have non modified annihilation in this file.
As I said in a higher place, it is non me who did the upgrade of the version and I volition contact the person who made it.

I upload the file with this mail service

Attachments

admin/controller/common/filemanager.php




Joined

Thu Nov 03, 2011 11:thirteen pm

Re: Extension installer problem


Postal service past IP_CAM » Sun Jan 08, 2017 12:23 am

renemilone wrote:I used the services of an opencart developer to upgrade my opencart from one.4 to 2.3.

Well, that at least explains a lot, you lot should have mentioned before, that it has NOT been a clean Install, then, we would not have wasted so much time, only to find out ... ! :-\
Proficient Luck !
Ernie


My Github OC Site: https://github.com/IP-CAM
iv'800 + Gratuitous OC Extensions, on the World's largest Github OC Repository Archive Site.


User avatar


Re: Extension installer trouble


Post past pm-netti » Midweek Jan eleven, 2017 four:45 pm

FTP practise double file lines.

I did upload to subfolder for renemilone.
This was ii bugs in file admin/controller/common/filemanager.php

Line 39:

Code: Select all

                      if (substr(str_replace('\\', '/', realpath($directory . '/' . $filter_name)), 0, strlen(DIR_IMAGE . 'catalog')) == DIR_IMAGE . 'catalog') {                    

need changed;

Code: Select all

                      if (is_dir( DIR_IMAGE . 'itemize')) {                    

line 224:

Lawmaking: Select all

                      if (!is_dir($directory) || substr(str_replace('\\', '/', realpath($directory)), 0, strlen(DIR_IMAGE . 'itemize')) != DIR_IMAGE . 'catalog') {                    

need inverse:

Strange? ;)


User avatar



Joined

Sat April 07, 2012 11:22 pm

Re: Extension installer problem


Post by pm-netti » Wednesday Jan xi, 2017 viii:46 pm

Contínue...... :)

Simply I stock-still 6 bugs from file admin/controller/extension/installer.php
Lines 229, 377, 422 and 518:

Code: Select all

                      if (!is_file($file) || substr(str_replace('\\', '/', realpath($file)), 0, strlen(DIR_UPLOAD)) != DIR_UPLOAD) {                    

need changed:

Lines 268 and 548:

Code: Select all

                                              if (!is_dir($directory) || substr(str_replace('\\', '/', realpath($directory)), 0, strlen(DIR_UPLOAD)) != DIR_UPLOAD) {                    

need changed:


User avatar



Joined

Sat Apr 07, 2012 11:22 pm

Re: Extension installer trouble


Post by elcopdoo » Wed January 25, 2017 7:00 am

@ pm-netti
Can You assemble all bugfixes for 2.iii.0.2 release (OCMOD and files) in i place?
That would exist nice...

Who is online

Users browsing this forum: No registered users and 16 guests