Problems with adding an extension in Magento Root directory? - php

Not sure if i'm at the right place but oh well,
Since a month or two I've started working at a company which uses Magento. Everything was going smoothly, except for the fact that I now try to add an extension to the root directory of Magento through cPanel, in the installation guide I found the following steps:
Installation:
Before installing the extension, please make below notes complete:
Clear your website cache under located at var/cache directory.
If you’re installing extension on live website, please backup your store database and web directory.
Disable Compilation by going to Admin Control Panel -> System -> Tool -> Compilation.
Multi PRODUCT EDITOR Installation:
Extract Multi_Product_Editor-1.0.0.tgz file.
Upload the extracted folders (/app, /js, /skin) respectively into the root of your Magento installation.
From the Admin Control Panel, refresh cache at System => Cache Management. Log out and log in back
now I have found a problem with uploading the extracted folders, because
There are already a folder called App and one called Skin and I'm not sure if I should overwrite those
When I wanted to upload the specific folders, it can't, I can't upload the folder "App" and it only allows me clicking the folder and searching through the folder's folders.
I'm still new to Magento but I learn everyday! please tell me if I'm doing something wrong or if I need to take a step back, I gladly appreciate all your help!
Also, if I wasn't specific enough, or if you need more details, just say so and I'll try adding as much as I can :)
kind regards
Clay

In magento app and skin are mandatory folders so you must not erase them. But if your module you want to add is adding properly, it will just add based on magento structure and create a new module in community or local for the app, and a new design in skin.
Be always careful of where the modules installs things anyway

Related

Install Moodle plugin into root directory or redirect it

I'm in the process of programming my own static pages in moodle. It works so far, but I have the whole thing running in the local environment in its own folder in the root directory "mymoodle.com/folder/".
Now I would like to install it as a plugin on the stable instance via the dashboard/frontend, but if I understand it correctly then only works with the available plugin types => path from the docu
Is that only possible via FTP access? Or is a plugin type not listed yet or have I overlooked one?
Is there a better moodle approach than plugin type "local" ?
I have already discovered the "Static Pages" plugin, but I don't really understand how they solve the redirect from /local/staticpage/ to /static/
Local Plugin folder is the best approach, if you are creating a plugin that doesn't comes under any of the other plugin types mentioned here.
However you can shift the folder (and make appropriate changes in files to require files) under the Moodle's root directory and it should work.

Joomla upload zip and run in plesk

I try to host a site in plesk created with joomla.
I have installed joomla from Applications -> Joomla Install.
I can log in to the backend interface and see the general by default joomla template.
However in plesk in Files -> httpdocs where the site exist I have upload my joomla work from my local disk and extract it and their are all my files.
What should I do to configuration.php file in order to make the public url to see the results from the content I uploaded, or in other files?
I mean I have a zip file with the joomla content. I uploaded to http docs and extracted but in the public url I receive error. Why this is happening?
I noticed that index.php was overwriten when I openned the joomla from the application and after that I can't understand what changed.
Joomla consists of files and a database.
One of the easiest ways to transfer a website is to use the free or paid version of Akeeba Backup which backs up the files and the database into one file. You can then use the free Akeeba Kickstart utility to restore the files and the database on the target location.
I don't have rep points to comment, which is why this is posted as an answer. Sorry!
Can you give a little more information? You installed Joomla from the Plesk panel, so you should have all of the Joomla code files and directory structure. What is the "joomla work" you want to upload -- a complete site like Neil's answer I think assumed? Graphics files? Text documents? If it's artwork or the like, it would go in your "media" folder under the Joomla document root (httpdocs I would guess), and be accessible through the media manager.

How to restore app folder in a symfony 3 project?

my app folder was deleted without my intention, is there any way to restore it, i have all my routing and Roles configuration in it
i'm using Php storm if this has any relation with my problem
Open Project view, right click on the root directory of your project, Local History -> Show History. If you're lucky, the folder with all its contents will be there. If you're not, have fun restoring everything manually.
Start using a version control system, for crying out loud.

Joomla! Custom Modules

I'm very new to Joomla! and I'm building a custom module. I've looked at the documentation and although there is a tutorial for creating custom modules:
https://docs.joomla.org/J3.x:Creating_a_simple_module/Developing_a_Basic_Module
...there's no instruction for how to actually use these files, or where to put them, or how to properly install them! I've created all 4 files (3 .php, 1 .xml) and I tried putting them in the same folder structure and location as the other "stock" modules (administrator / modules / mod_helloworld etc.) but the module doesn't show up as an option when creating a new module in the back end. I also tried zipping the group of files and installing through extension manager and that didn't work either.
Perhaps I'm coming at this all wrong? This just seems to be something that is assumed knowledge in the Joomla documentation tutorial. Are there other files that need to be created? Or edits need to be made to existing files?
I'm using Joomla! 3.4.1 and am working on it from a server. I apologize in advance for what seems like a very stupid question.
Once you have created your test module files you can put them in a folder that will have the same name as the one you used for your module in the XML file.
The Joomla naming convention is to start with mod_ for modules.
Let's say the module name is mod_myfirst_module in the XML file
<name>mod_myfirst_module</name>
The install folder must use the same name.
To install it you have two options:
For testing you can upload the files directly to the modules folder of your Joomla site (frontend modules go into modules folder, backend modules go into administrator/modules folder) and use the Discover functionality in the Extension Manager of Joomla administation backend. Menu Extensions->Extension Manager-> Discover on the left column.
Click on the button Discover and your module will show in the list if you have properly set the files.
You can create an installer package. Zip the folder you previously created with the module files, go to Joomla administation backend. Menu Extensions->Extension Manager->Install on the left column Click on Upload Package file tab and select the Zip archive you created. If the archive contains all the files needed, the module will be installed.
Delete mod_helloworld from administrator/modules and then
.zip this and instal using Extensions>Instalator in Joomla admin panel.
If it will not work, paste the error here.

How to restore a Wordpress into which another web app was installed

So I created a database in cPanel to install SMF into for my WordPress website, but I accidentally made my home URL the place to host the forums. It overwrote my entire website. I can't access any of the pages anymore without it redirecting me to my SMF forum. I deleted the database that the forum was connected to and it's just giving me an error now if I try to go to my website. Is there anyone that can point me in the right direction here?
I guess you'd have to try and restore the files on the top level, most importantly index.php and .htaccess.
When that is done, you'll have to hope that SMF didn't overwrite any important Wordpress directories. If it didn't, your install should work again.
index.php and any other files in the top directory you should be able to copy from a raw Wordpress install.
The only exception is the .htaccess file which contains the routes for pretty URLs (if you use those - if you don't, skip this paragraph). This file has been generated specially for your install. To re-create it, you should be able to access your wp-admin directory already, and update the permalink structure.

Categories