OXID Community Forum

> International Forums > Developers > file upload in custom admin controller
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: file upload in custom admin controller


Reply
 
Thread Tools Search this Thread Display Modes
#Top   #1  
Old 07-15-2017, 10:18 PM
vik vik is offline
Junior Member
Join Date: Feb 2016
Posts: 3
vik is on a distinguished road
Default file upload in custom admin controller

Hi
I want to upload an excel file in backend for every category.
I found similar topic in german forum http://forum.oxid-esales.com/showthread.php?t=18649 and followed all the described steps. My excel file name is sucessfully saved in oxcategories_oxexcelfile but not appearing in folder master/category/excel_file. and these three line of code are already in category_main.php

Code:
        $oCategory->assign( $aParams);
        $oCategory= oxRegistry::get("oxUtilsFile")->processFiles( $oCategory);
        $oCategory->save();
Don't know what and where I'm missing. I would really appreciate your help

Last edited by vanilla thunder; 07-17-2017 at 02:16 PM.
Reply With Quote
#Top   #2  
Old 07-17-2017, 02:31 PM
vanilla thunder's Avatar
vanilla thunder vanilla thunder is online now
Marco's Sidekick
Join Date: Nov 2010
Posts: 6,359
vanilla thunder is on a distinguished road
Default Re: file upload in custom admin controller

Is master/category/excel_file writable?
are threre any errors in webserver error log?
Reply With Quote
Reply

Bookmarks

Tags
admin, controller, custom, file, upload

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom controller session variable veljko229 Developers 3 09-09-2016 12:57 PM
use controller function in frontend tpl file imransilvake Developers 0 01-15-2016 07:33 AM
custom language file shirtsfun Templates und Design 2 04-25-2015 12:45 PM
File-Upload im Admin-Modul jochen_heinz Newbies 4 03-15-2013 11:05 PM
language custom file name change? workingprojectss Developers 1 07-12-2010 10:24 AM

All times are GMT +1. The time now is 06:11 PM.