JMSDiExtraBundle icon indicating copy to clipboard operation
JMSDiExtraBundle copied to clipboard

File name too long...seriously!?

Open dailytabs opened this issue 11 years ago • 5 comments
trafficstars

file_put_contents(....../app/cache/test_phoneswipe/jms_diextra/proxies/EnhancedProxy9cea77a8_c967a63507f64a14897f80f0b3e78b9f7e5e5772-CG-NAB-Bundle-PayanywherePortalBundle-Controller-ReceiptSettingsController.php): failed to open stream: File name too long

dailytabs avatar Feb 19 '14 17:02 dailytabs

When developing on Windows, I'd recommend to put your workspace into the root folder like D:/, but not use the user folders. You'll run into this problem a lot.

On Wed, Feb 19, 2014 at 6:07 PM, Daily Tabs [email protected]:

file_put_contents(....../app/cache/test_phoneswipe/jms_diextra/proxies/EnhancedProxy9cea77a8_c967a63507f64a14897f80f0b3e78b9f7e5e5772- CG-NAB-Bundle-PayanywherePortalBundle-Controller-ReceiptSettingsController.php): failed to open stream: File name too long

Reply to this email directly or view it on GitHubhttps://github.com/schmittjoh/JMSDiExtraBundle/issues/156 .

schmittjoh avatar Feb 19 '14 17:02 schmittjoh

Not windows. Ubuntu 13.10. On Feb 19, 2014 12:09 PM, "Johannes" [email protected] wrote:

When developing on Windows, I'd recommend to put your workspace into the root folder like D:/, but not use the user folders. You'll run into this problem a lot.

On Wed, Feb 19, 2014 at 6:07 PM, Daily Tabs <[email protected]

wrote:

file_put_contents(....../app/cache/test_phoneswipe/jms_diextra/proxies/EnhancedProxy9cea77a8_c967a63507f64a14897f80f0b3e78b9f7e5e5772-

CG-NAB-Bundle-PayanywherePortalBundle-Controller-ReceiptSettingsController.php): failed to open stream: File name too long

Reply to this email directly or view it on GitHub< https://github.com/schmittjoh/JMSDiExtraBundle/issues/156> .

— Reply to this email directly or view it on GitHubhttps://github.com/schmittjoh/JMSDiExtraBundle/issues/156#issuecomment-35522321 .

dailytabs avatar Feb 19 '14 18:02 dailytabs

@schmittjoh : this does seem to be a linux kernel limit. It's not the whole path that is too long (like on windows), but the filename itself. 256 characters is the max

ghost avatar Jul 31 '14 08:07 ghost

What is the limit? Do you have a link to docs on this?

schmittjoh avatar Jul 31 '14 08:07 schmittjoh

it depends on the filesystem (not just kernel) here's a quick reference:

255 bytes on ext3 and 4 (which are quite common)

http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits

ghost avatar Jul 31 '14 09:07 ghost