Error in magento admin reports section [closed] - magento

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi guys i am working on a magento commerce site and got a bug in magento admin panel under reports section what actually it is that when i tries to export any report such as Shopping cart items or customer review in either CSV or xml format it gives me a file to download but with wrong extension type such as if i am downloading report as in csv format it gives me a file like
tag_customer_detail.csv-, attachment
the part (-, attachment) giving the downloaded file not to open in any editor ...
any one has address this issue before in the past or has some solution to this problem are mostly welcome.
Thanks

See the content of method exportCustomerDetailCsvAction in file Mage/Adminhtml/controllers/Report/TagController.php
and check what is the value assigned to $fileName there (You may find -, appended over there, but it's a wild guess).
Do you have any extension which rewrites this functionality?

After searching through the internet i found that Google Chrome has some kind of issue with
Content-Disposition header parameter, it needs a semicolon after the file name so guys if any one has got this error with their magento 1.6.2 v please edit your code.
1) Go to app/code/core/Mage/Core/Controller/Varien/Action.php
2) find a protected function _prepareDownloadResponse()
3) and change the line
->setHeader('Content-Disposition','attachment;filename="'.$fileName.'"')
TO
->setHeader('Content-Disposition','attachment;filename="'.$fileName.'";')
Happy coding :)

Related

Reset password link return blank page [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
Reset password link return blank page after I upgrade to the Magento 1.9.2.4
Change forgotten password page was changed with SUPEE-6788 security patch.
In most cases all that's required to fix the issue is to copy customer_account_changeforgotten layout update handle from base/layout/customer.xml to [theme]/layout/customer.xml.
You can find more information on official patch documentation page: https://magento.com/security/patches/supee-6788-technical-details
Best of luck!
This issue is related to SUPPEE-6788.
Either you upgraded Magento or install this Patches. So I suggest you to please add FORM KEY in forgot password form.
And if you didn't change it in customer.xml then please change reset password code from base to your theme's customer.xml

Cant call a view in codeignitor's admin, gives not found error [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
Im new to codeignitor and just given this project to add a few modules.So what I did was, I copied the code of an existing controller and pasted it in new one, changed the name of the class, called the view.
Now when I click the link, it goes on the controller file but unable to call the view? any help please!
Assuming you are using the newest version of CI, and given the small amount of info you supplied I recommend you check out this official resource: http://www.codeigniter.com/user_guide/general/views.html

can not display new product in new server after migration [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
i'm really stuck with this problem, i've inserted manually new product in my magento, it's done saved to database, i've configure all the product:
make it enabled, in stock, quantity more than 0, etc..
flush the magento cache..
make the folder permission 777..
then i reload my magento, the product still dissapear, eventhought the total are 31 but only 30 product that showing. i've trying to change the user and group just like the old server, but still the same. And then because my new product not display, my footer also (at current page) not also displaying. i check /media/catalog/product/cache/ folder is not modified after i inserted new product.
i've almost searched all the possibility solution but fail. it's been almost a week for only 1 problem.
here the link: http://angzdna.org/mag_16/brands/tulusdoor/flush.html?limit=60
i really need help guys..
I have face this problem before. Please try to remove .htaccess in sub folder. (not in your public_html)
Hope this can help.
problem is fixed, after headache for days. it's not the magento, my new server extension for magento is not complete installed. i missed gd and mcrypt extension..
thank's for all the respond..

Fatal error: Class 'JFactory' not found [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am recently start work in Joomla and I have an error please help me
Fatal error: Class 'JFactory' not found in joomla/helpers/system.php
on line 48 the line show in 48 row is
$this->application = JFactory::getApplication();
Firstly, ensure you have the latest version of the build you're using. So either 1.5.26, 2.5.8, or 3.0.2
Once done, download a fresh copy of Joomla, extract the "includes" and "libraries" folders, and upload these 2 folder (preferably as zip files) via the FTP and extract them.
As a little side note. If you already have, please don't edit any core Joomla files. This can cause all sorts of problems on the security and functionality side of things.
I experienced the same issue and I later discovered that factory.php file was missing from "libraries/joomla" directory. I'm not sure how that happened but I replaced the file from an update zip file and that solved it.

Suppress UCM default head scripts from generated webpages [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
By default UCM adds a bunch of JavaScript to the head of each webpage. Is there a way to suppress the insertion of these scripts at the page level?
I found a resolution to the issue. It is Site Studio Designer that automatically inserts scripts into the head of documents you work with. The solution is to write your .hcsp source in another editor (I use Notepad++), then manually check your code into UCM.

Resources