Post by raconul » Fri Sep 07, 2018 12:49 am

Hi,
I have OC 3.0.2.0 installed (default theme). Everything worked good, until I had to install some extensions.
It says that the installation is succesfull, I cleared the cache from Modification, but when I go to the front store... nothing is changed.
When I look at the files that the install.xml should have changed... there are no changes. The install only uploads the files from the package (zip), but is not changing/or adding the code from the install.xml. In Admin everything's ok.
If I add the code (from install.xml) manually in Theme Editor, the extension works. But that is time consuming... and sometimes if I clear the cache after that... the site is not accesible anymore. And I'm guessing that if I uninstall from Admin, this will not change the code that I manually entered, back.

Some things to mention, that I observed in my OC Admin:
- the FTP option is missing from the System - Settings - Edit....
- in Extenssion - Installer ... under the installation progress bar, I don't have that box in wich it says what files were overwritten. (Log of the installation)
and regarding other modification> I have moved the Storage folder, outside public_html, but after I observed this problem. So I'm guessing it doesn't have anything to do with this.

That's about it. If someone knows about this kind of problem, please help. Thanks!

Newbie

Posts

Joined
Thu May 18, 2017 1:54 am

Post by IP_CAM » Fri Sep 07, 2018 12:57 am

I have moved the Storage folder, outside public_html, but after I observed this problem. So I'm guessing it doesn't have anything to do with this.
This may be a wrong guessing, you should better contact your Hoster first, to find out, if you have rights to place CACHE Directories outside of your public_html Sections, since this is, in many cases, just not allowed. And in such a Case, an Extension cannot work, because the OcMod-MODIFIED Source can either not even be saved, and/or not be called, in/from such a Directory.
Ernie

I am no longer active at the OC Forum, to reach me, contact: jti@jacob.ch
My latest free Opencart LIGHT 1.5.6.5 Source is available on demand: http://www.ebikes.li/shop/
900+ FREE OC Extension-Repositories - from OC v.1.5.x up, on the
world's largest OC-related Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by raconul » Fri Sep 07, 2018 1:14 am

IP_CAM wrote:
Fri Sep 07, 2018 12:57 am
I have moved the Storage folder, outside public_html, but after I observed this problem. So I'm guessing it doesn't have anything to do with this.
This may be a wrong guessing, you should better contact your Hoster first, to find out, if you have rights to place CACHE Directories outside of your public_html Sections, since this is, in many cases, just not allowed. And in such a Case, an Extension cannot work, because the OcMod-MODIFIED Source can either not even be saved, and/or not be called, in/from such a Directory.
Ernie
I think I'm allowed, if I did it. I had another Storage folder outside public_htm... so now the one I moved outside, it is merged with the other.
Image
It's funny, because I have read that after this move, I need to change the path in both of the config.php files... and when I wanted to do that, the files where already changed with the new path.
I have no problem with this change. And as I said... it was done after my problem with the install.xml

Newbie

Posts

Joined
Thu May 18, 2017 1:54 am

Post by IP_CAM » Fri Sep 07, 2018 1:27 am

An Extension for those, tired of screwing around with this nasty Problem: :crazy:
---
Remove "Important Security Notification" 3.x OC 3.x
Security issues: Move the storage folder as suggested from opencart.
We created a workaround for those that don't have folders under the root one.
If you still want to not move the folder and use this mod to disable the popup
make sure to have a Webserver that supports .htaccess.
We added an htaccess to deny the web access from all in the /storage/ folder.
https://www.opencart.com/index.php?rout ... n_id=31807
---
As well as a few other Tools, possibly able to help on other OC-3 specific matters:
---
GGW Installer fix Allow ALL directories to be written OC 3.x
The problem:
With OpenCart 3.0 there is a new filter in the extension installer. If your module uses
custom directory names it most likely will fail during install.
Solution: Install this fix to make the installer allow any directories.
https://www.opencart.com/index.php?rout ... n_id=31130
---
OC 3.X.X.X Installation Issue Fixed OC 3.x
This module fixed the modification upload error. For example many time
you faced a problem like "vqmod directory cant be updated" or
"The directory 'admin/controller/module' or 'some other path' is not allowed
to be written to!" etc.
So the permanent solution of these types of error is this module.
https://www.opencart.com/index.php?rout ... n_id=34306
---
Fix OC 3.x Extension Installer OC 3.x
OC 3 is limitating allowed folders to write when installing an extension, but some do require
to put files elsewhere than pre-defined directories. This extension fixes this issue by allowing
the modules files to install anywhere. If you get the message “The directory xxx is not allowed
to be written to!” this extension is for you.
https://www.opencart.com/index.php?rout ... n_id=33410
---
Auto Refresh Modifications Cache OC 3.0.2.x
Every time an extension is installed in the admin extensions installer, every time
it is uninstalled or enabled/disabled, it is necessary to manually refresh the
modifications cache. The Auto Refresh Modifications ocmod extension will
optimize the modifications install and management process and solve this problem.
Saving you time and improving the installer / extensions management flow.
https://www.opencart.com/index.php?rout ... n_id=33801
---
But I am not familiar with OC-3, so, I would not know! Sorry... :-\
BUT, try to insert a IFRAME Link into a simple HTML File, and place this File into the Site Root.
Also add a html content file into the outside-html Directory, to be called by the iframe-link in
the ROOT HTML Page. Then, call the Page by Browser, and check, if the Iframe Content will display,
to so know, that at least this outside-html Section is 'readable', and can so be 'handled' also by OC.
Just another wild idea ... :D
Ernie

I am no longer active at the OC Forum, to reach me, contact: jti@jacob.ch
My latest free Opencart LIGHT 1.5.6.5 Source is available on demand: http://www.ebikes.li/shop/
900+ FREE OC Extension-Repositories - from OC v.1.5.x up, on the
world's largest OC-related Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by raconul » Fri Sep 07, 2018 1:57 am

IP_CAM wrote:
Fri Sep 07, 2018 1:27 am
An Extension for those, tired of screwing around with this nasty Problem: :crazy:
Remove "Important Security Notification" 3.x OC 3.x
Security issues: Move the storage folder as suggested from opencart.
We created a workaround for those that don't have folders under the root one.
If you still want to not move the folder and use this mod to disable the popup
make sure to have a Webserver that supports .htaccess.
We added an htaccess to deny the web access from all in the /storage/ folder.
https://www.opencart.com/index.php?rout ... n_id=31807
---
As well as a few other Tools, possibly able to help on other OC-3 specific matters:
---
GGW Installer fix Allow ALL directories to be written OC 3.x
The problem:
With OpenCart 3.0 there is a new filter in the extension installer. If your module uses
custom directory names it most likely will fail during install.
Solution: Install this fix to make the installer allow any directories.
https://www.opencart.com/index.php?rout ... n_id=31130
---
OC 3.X.X.X Installation Issue Fixed OC 3.x
This module fixed the modification upload error. For example many time
you faced a problem like "vqmod directory cant be updated" or
"The directory 'admin/controller/module' or 'some other path' is not allowed
to be written to!" etc.
So the permanent solution of these types of error is this module.
https://www.opencart.com/index.php?rout ... n_id=34306
---
Fix OC 3.x Extension Installer OC 3.x
OC 3 is limitating allowed folders to write when installing an extension, but some do require
to put files elsewhere than pre-defined directories. This extension fixes this issue by allowing
the modules files to install anywhere. If you get the message “The directory xxx is not allowed
to be written to!” this extension is for you.
https://www.opencart.com/index.php?rout ... n_id=33410
---
Auto Refresh Modifications Cache OC 3.0.2.x
Every time an extension is installed in the admin extensions installer, every time
it is uninstalled or enabled/disabled, it is necessary to manually refresh the
modifications cache. The Auto Refresh Modifications ocmod extension will
optimize the modifications install and management process and solve this problem.
Saving you time and improving the installer / extensions management flow.
https://www.opencart.com/index.php?rout ... n_id=33801
---
But I am not familiar with OC-3, so, I would not know! Sorry... :-\
BUT, try to insert a IRFAME Link into a sinple HTML File, and place the HTML File
into the Site Root, Then, call the Page by Browser, and check, if the Iframe
Insert Content will display ...
Ernie
Thanks Ernie, for you replys.
But unfortunately it does not help me with my problem.
- First of all, my OC did't display the "Important Security Notification" message at all. I moved the folder because I have read that is best to have only one storage folder, and it should be outside public_html. I did it, and I don't have problems with this. I did it trying to resolve my extension installation problem. But no luck. Should I move the folder back? Don't really know... because I am not an expert in these things.

- Second, none of the other extensions will work for me... because my installation is not displaying error messages during installation. It shows a green bar, with a succesfull message. It's only the install.xml code that is not inserted in the files where it should. The paths are correct. If I insert/change the code manually it works.

I have mentioned the missing FTP from the System - Settings - Edit...
and the missing box under the installation bar - because maybe it has something to do with it. Don't really know. That's why I'm asking for help.
Maybe someone encountered the same problem. Usually I manage to resolve my problems, but this one... sucks big time. I have searched, I have read posts... and didn't find nothing similar :(

Newbie

Posts

Joined
Thu May 18, 2017 1:54 am

Post by IP_CAM » Fri Sep 07, 2018 2:35 am

Well, if one of your OcMod has been installed, at least according to the Message,
then, you just have to look, if this Modification has left any traces somewhere...
Ernie
---
Image

Attachments

ocmod_installation.jpg

ocmod_installation.jpg (207.02 KiB) Viewed 942 times


I am no longer active at the OC Forum, to reach me, contact: jti@jacob.ch
My latest free Opencart LIGHT 1.5.6.5 Source is available on demand: http://www.ebikes.li/shop/
900+ FREE OC Extension-Repositories - from OC v.1.5.x up, on the
world's largest OC-related Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: Baidu [Spider], Laoyumi and 12 guests