Error in Magento when downloaded - magento

I have recently downloaded a copy of Magento version 1.7.0.2 and upon opening it up in Netbeans there is a red explanation mark on that folder. I have only seen this symbol on my own code to signify that there is an error in the code (i'm doubting this is the case as it Magento).
The files that are displayed as having an error are:
app/design/adminhtml/default/default/template/catalog/product/attribute/js.phtml
app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml
app/design/frontend/base/default/template/checkout/onepage/billing.phtml
I have uninstalled and reinstalled my copy and still have this problem, is this heard of by anyone else? or is it a Netbeans thing?
Also under the folder:
app/code
the only folder there are community and core. In This post a local folder is mentioned. Is this something you need to add manually or should it be there on the install?

Related

Missing Payment Plugin Extension In Opencart

I currently finished writing a payment plugin for opencart. I uploaded it using filezilla to an online opencart site, tested it and it worked perfectly.
After which i tried installing the same plugin using the extensions installer from admin, setup my ftp and i got a "installed successfully" message.
The problem is i can't find the extension under payment extensions in the opencart site. As in, it is completely missing but it definitely has to be somewhere since it installed successfully
NOTE
The previously installed plugin through filezilla cannot be possibly crashing with the new one because i removed that one completely.
I setup my FTP perfectly.
I zipped the upload folder, saved it with upload.ocmod.zip before uploading it.
How do i find the missing extension and if i'm installing it the wrong way, what is right way to go about the it.
In OpenCart 2.3, all extensions are listed in the Extensions > Extensions area. You then have to choose which extensions you want to filter on (e.g. Shipping extensions).
Which Opencart version you are using?

uninstall.dat file cannot be found in xampp

I want to uninstall xampp and reinstall with the latest version. I've recently upgraded from Win7 to Win10 which I think is causing many of my problems.
I have saved all my files and folders, so that I can insert into the new version of xampp.
After I click "uninstall" I get this message "The uninstall.dat file cannot be found and is required to uninstall the application, aborting".
There is an uninstall.dat file in xampp and it is an Adobe file. I've tried changing it to Notepad and Editpad but still get the cannot be found message. And I've tried many times without success.
Can somebody tell me how to overcome this problem?
Maybe I need to uninstall by piecemeal but I don't know how to do that.
18/02/16 - Update.
The only solution I can think of is to move the xampp folder to the recycle bin.
In that event, how could I see if any of the programs are still running, and if they are, how to delete them?
I need to answer my own question, in case another person has the same problem. I deleted the xampp folder to the recycle bin, downloaded Version 7.0.4, installed and uninstalled, then installed once more. Everything appears to be working now. This may have been a fault with Version 7.0.2 which is what I had these problems with.
Actually I used XAMPP nearly four years ago during my college project, now not using it anymore, so I though to uninstall it but unfortunately got this same issue, just did a simple thing to resolve the issue, I had that setup from which I installed it, so using that I reinstalled it and then did the un-installation and it worked for me.
Copy paste required file into xampp folder and uninstall xampp as regular procedure via control panel.

After copying the whole folder, they wont show up

I've been working on a website by building it on Joomla. I built it locally with XAMPP and today I copied the files to the directory on the FTP to publish the website and went to the admin panel and there are no plugins or templates, this is weird because I copied the whole folder and imported the database. Already did this twice but it seems to be another error than copy error.
Attention:
I did not install the template and plugins after getting the joomla online, I just copied it to the ftp
Your best bet is to use a tool like Akeeba Backup. This will automate the process and resolve most common issues when moving a Joomla site.

Joomla administrator redirects to public site

I have a Joomla site running on a windows machine. The site was at 1.6 when some update requests came in. I decided to update the site, but the automated process didn't work, so I started FTPing the files up there manually.
I followed the instructions for the manual upgrade at http://docs.joomla.org/Upgrading_1.6.5_to_1.7 once I got the site to 1.6.5, but my problems had already started before that.
Now when I go to mysite.com/administrator most images are not there and when I try to log in I get kicked up to my site root rather than the /administrator folder. I took the opportunity to look at the code and none of the image src attributes or the form action attributes include "/administrator".
Soooo I need a little advice as to why this is happening. I would rather not have to restore from my backup and start over at 1.6. I was kinda hoping for this to be my first Joomla 3 site. Thanks in advance.
You said that you had trouble with updating Joomla via the admin panel, however did you check if the folders were writable? Site -> System Information -> Directory Permissions Always check this page once you have installed Joomla as it is the reason why a lot of people are unable to install updates or normal extensions.
You then mentioned that you had to upload the files manually via the FTP, however this is not requires. All that is required it to upload the update.zip to the foot of your Joomla site and unzip it.
As for a proper answer, May I suggest that you first update to the Latest version of the 1.6 series (1.6.6), then you download a fresh copy of Joomla 1.6.6, unzip the "administrator" folder, zip that folder, upload via the FTP to your Joomla root folder, then extract it. This will override all the default administrator files.
In the end I had this client move their Joomla install off Windows and onto a Linux machine. Things were just getting worse with the install and I threw in the towel. Thanks to Lodder for trying to help.
This can happen if you are using the JSecure plugin. It requires a token in the URL to enter the admin panel, for example:
http://www.yoursite.com/administrator?token
Explanation:
http://forum.joomla.org/viewtopic.php?p=2198164
I was able to fix this by removing the value that I had in the $live_site variable in the configuration.php file. I am also running this on a Windows server.

MSI Patch Creation Problems

A new version of our product (a software package) has been released recently. To expand functionality, we developed a plugin afterwards. Now we would like to deploy these files (two new files and an updated version of an existing file) as hotfix (or update) with MSI patch (msp). I downloaded a blank PCP file from MSDN website and made some changes in it. The changes involve the following tables:
ImageFamilies
PatchMetadata
PatchSequence
Properties
TargetImages
UpgradedImages
All the other tables remain blank.
Then, I managed to create an msp file with this PCP file based on two versions of the admin image of the software package, both of which were built from Visual Studio setup project (VS 2010). The difference between these two msi packages are that I replaced a file and added two new files in, but nothing else. I didn't change the product code (GUID), the upgrade code (GUID), nor the version number.
Then I was trying to install this msp file on top of the released version.
The first screen appearing is asking to Repair or Remove the product. This is not what we want. We want the installer is like a fresh installation, including showing the licence agreement. How do I define the UI for MSI patch?
During the installation of the patch, I got an error message as below, then the installation failed:
Error 1001. Exception occurred while initializing the installation: System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\WINDOWS\system32\Files\BPS\TestApp' or one of its dependencies. This system cannot find the file specified.
BPS is the folder where we install our product in [ProgramFilesFolder]. I wondered why MSI was trying to search in "C:\Windows\system32" for files installed in [ProgramFilesFolder]. In addition, the changed files in the hotfix are located in somewhere else ([CommonAppDataFolder]) instead of in this "BPS" folder.
Can anyone help me with these problems? If any more information is needed to identify the issues, please let me know. Any thoughts, advices, suggestions would be very much appreciated.
Dan
The first screen appearing is asking
to Repair or Remove the product. This
is not what we want.
In the upgrade package increase the Product Version. This way you will use a minor upgrade instead of a small update.
You can also try using the MSIEXEC command line to apply the patch:
http://msdn.microsoft.com/en-us/library/aa367574(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa367575(VS.85).aspx
During the installation of the patch,
I got an error message as below, then
the installation failed
Is there something in your installer using that file? Perhaps a custom action? Try looking in the log to see what action tries to access that file.

Resources