[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum :: View topic - BUG: fileExists does not seem to work on Win10
XWidgetSoft Forum
https://bbs.xwidget.com/

BUG: fileExists does not seem to work on Win10
https://bbs.xwidget.com/viewtopic.php?f=8&t=6348
Page 1 of 1

Author:  yereverluvinuncleber [ June 3rd, 2016, 7:24 pm ]
Post subject:  BUG: fileExists does not seem to work on Win10

print (FileExists("D:\speedfansens.cfg"));

I've tried placing this file in various locations but Xwidget always returns FALSE regardless of the location.

Please try this on your system. Mine is Win10 and it seems to be stopping Xwidgets from detecting the existence of files and folders universally. I then tried it with any file and found it was the same.

If this is the case it is a SERIOUS bug.

if FileExists("D:\anyfile.txt") always returns False.
if (FolderExists("D:\anyfolder") always returns False.

The following works:
open("D:\speedfansens.cfg");

So it can open the file, it just cannot find it using script file system commands.

var line = readfile("D:\speedfansens.cfg"); returns nothing.

This is BAD.

Author:  Jimking [ June 4th, 2016, 12:11 am ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

Could you please explain me more what do you want to do, because if you're talking about the speedfan core I used it only once and just for testing.. Also I use win7.

Author:  yereverluvinuncleber [ June 4th, 2016, 3:15 am ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

It has nothing to do with speedfan, it is just a file I am trying to open. It is the same with any file. The FileExists and FolderExists function return false when trying to open a file for reading. All file functions seem to be failing.

Author:  Jimking [ June 4th, 2016, 4:28 am ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

Oh ! I'm trying to understand because I never had this problem on win7. One thing that I notice though using my second laptop with win8.1 is that during the creation of a widget, sometimes when I want to import an image and try to replace it an error appears that the file already exists in the folder. So the only way is to place the images in the widget's folder or delete the first image from there. I don't know if you mean something like this..
And I don't know if depends on the windows version or from any update that caused the bug on XWidget ...

Author:  yereverluvinuncleber [ June 4th, 2016, 7:03 am ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

No, Jim, I don't mean that sort of problem. Not at all.

Specifically, it is the FileExists() and FolderExists() functions are NOT working under Win10. They both return False when a fileor folder is checked to see if it exists.

This means you cannot check to see if a file exists before opening it.

In addition you cannot open a file for reading as it returns an error.

readfile() does not work under Win10.

It seems that file operations are completely broken under windows 10.

How can no-one have noticed this, are there so few people creating Xwidgets that no-one has noticed?

Author:  Jimking [ June 4th, 2016, 8:46 am ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

I don't know.. As I told you I don't use win10 and I can't confirm or test. Sorry..

Author:  yereverluvinuncleber [ June 4th, 2016, 9:04 am ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

If you can't help it is OK.

There must be someone else out there who is using Xwidgets on Win10. We have more than two developers right?

Author:  Jimking [ June 4th, 2016, 12:16 pm ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

The main Dev is Tony. I don't know if qiancang makes part of the dev team. Surely there are some people who help Tony (I suppose! )but I don't know them..

Author:  meme [ June 4th, 2016, 1:23 pm ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

Hi yereverluvinuncleber
I use FolderExists with Win 8.1 and it works OK, sorry I don't have Win 10.

Author:  yereverluvinuncleber [ June 4th, 2016, 2:06 pm ]
Post subject:  Re: HELP: fileExists does not seem to work on Win10

Thanks Meme, I'll try it back on XP and see if my code works there.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/