CodeIgniter Forums
Issues moving Codigniter from Windows server to Linux based server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18)
+--- Thread: Issues moving Codigniter from Windows server to Linux based server (/showthread.php?tid=62104)

Pages: 1 2


RE: Issues moving Codigniter from Windows server to Linux based server - gazzari - 06-11-2015

These missing files are probably a smokescreen since the uploader is javascript.
On the line with "flashuploadfiles" makes me suspect some sort of custom settings for the uploader. Nothing found yet searching through the code.
Below is output from Firebug:
Code:
"selectMultipleFiles:" true index.php
"onSelect: 1 files" index.php
"add selected files..." index.php
"server timeout (seconds) : " 5 index.php
"added..." index.php
"list:" Array [ Object ] index.php
" * Flash Uploader Toggle Disable::" true index.php
" * doUpload - GO" Object { data: Object, requestHeaders: Array[0], digest: null, method: "POST", contentType: null, url: "http://www.adultlines.com.au/index.…" } index.php
" ********** doUpload Multi file amount:" 1 "Deferred:" 1 index.php
" queing deferred files:" 1 index.php
" * doUpload File " "2 gxmobile.png" index.php
"single file - do upload, fieldName" "flashUploadFiles" index.php
" ** onProgress ** " 1 index.php
"timerHandler: tick:" 1 " of: " 5 index.php
"httpErrorHandler: name=2 gxmobile.png event=[HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=302 redirected=false responseURL=null]" index.php
"ioErrorHandler: name=2 gxmobile.png event=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]" index.php
"timerHandler: tick:" 2 " of: " 5 index.php
"timerHandler: tick:" 3 " of: " 5 index.php
"timerHandler: tick:" 4 " of: " 5 index.php
"file listeners removed." index.php
"*****COMPLETE:" Object { width: 0, height: 0, type: ".png", additionalParams: Object, error: "server timeout", size: 30980, Filename: "", lastUploadTime: 0, uploadTime: 0, file: "", 5 more… } index.php
" * removeFile:" "2 gxmobile.png" index.php
" * Flash Uploader Toggle Disable::" false index.php
"Server failed to respond"



RE: Issues moving Codigniter from Windows server to Linux based server - mwhitney - 06-11-2015

(06-10-2015, 04:55 PM)gazzari Wrote: I contacted my wholesale hosting, and they said there was missing files. Errors below.

12:14:14 access("application/libraries/MY_Encrypt.php", F_OK) = -1 ENOENT (No such file or directory) 12:14:14 access("application/third_party/libraries/Encrypt.php", F_OK) = -1 ENOENT (No such file or directory) 12:14:14 access("application/libraries/Encrypt.php", F_OK) = -1 ENOENT (No such file or directory)

These are supposed to be missing files, but are not in the original source files. And are not in any backups.

When you load a library in CI, it automatically checks those locations to see whether extensions of the library exist. Since they're all application paths, the files are only missing if your application extended that library in the first place (and having extensions of the library in all three locations would be unusual).

Buried in your Firebug output is an ioError #2038, which might be a Flash error with a number of potential causes.


RE: Issues moving Codigniter from Windows server to Linux based server - gazzari - 06-12-2015

I had a Freelancer work on this for me, It turned out to be a Session timeout set to short.