Jump to content

[SOLVED] Signatures Problem


fsxsimulation

Recommended Posts

Hi i am getting error in my signatures what to do?

Get the following error when access my edit profile area.

Warning: scandir(\httpdocs\birdva\/lib/signatures/background1) [function.scandir]: failed to open dir: No error in E:\ihttpdocs\birdva\core\common\PilotData.class.php on line 420

Warning: scandir() [function.scandir]: (errno 0): No error in \httpdocs\birdva\core\common\PilotData.class.php on line 420

Warning: Invalid argument supplied for foreach() in E:\\httpdocs\birdva\core\common\PilotData.class.php on line 422

Awaiting help.

Thanks!

UPDATE: TOPIC SOLVED

THANKS TO MARK & AHMED.

Link to comment
Share on other sites

what does this mean?

Checking file hashes for corrupt or mismatched files

[Checksum failed] /core/templates/frontpage_main.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/pilot_public_profile.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/codon.config.php did not match, possibly corrupt or out of date

[Checksum failed] /admin/templates/pilots_details.tpl did not match, possibly corrupt or out of date

Link to comment
Share on other sites

  • Moderators

You should re upload these below and forget about the template errors,

[Checksum failed] /core/codon.config.php did not match, possibly corrupt or out of date

[Checksum failed] /admin/templates/pilots_details.tpl did not match, possibly corrupt or out of date

  • Like 1
Link to comment
Share on other sites

not working still same error in the pilot center edit place

and in the install check i get this error now

[Checksum failed] /core/templates/frontpage_main.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/pilot_public_profile.tpl did not match, possibly corrupt or out of date

Link to comment
Share on other sites

now i dont get any errors in the phpvms install check but still getting this error in the pilot center

Warning: scandir(\httpdocs\birdva\/lib/signatures/background1) [function.scandir]: failed to open dir: No error in E:\ihttpdocs\birdva\core\common\PilotData.class.php on line 420

Warning: scandir() [function.scandir]: (errno 0): No error in \httpdocs\birdva\core\common\PilotData.class.php on line 420

Warning: Invalid argument supplied for foreach() in E:\\httpdocs\birdva\core\common\PilotData.class.php on line 422

Link to comment
Share on other sites

  • Moderators

I still think its a permissions thing,

http://bugs.php.net/bug.php?id=42832

Description:

------------

A user must have permissions for a directory's parent in order to scan it with scandir. If the user does not have permissions (for instance, user has "Full Control" over the subdir but is not in the parent's ACL at all), php fails with a "failed to open dir: Bad file descriptor" error followed by a "(errno 9): Bad file descriptor" error.

Based on the quick test in the "Actual results" box below, this bug seems to have arrived between 5.2.1 and 5.2.2. No php.ini is in use in any of the tests.

Reproduce code:

---------------

Any use of scandir will work, here's a quick one to do from the command line, after cding to the subdir:

php -r "foreach(scandir('.') as $f) { echo($f); }"

Expected result:

----------------

The subdirectory's filenames (all run together):

...file1.txtfile2.txtfile3.txt

Actual result:

--------------

C:\>cd \parentdir

Access is denied.

C:\>cd \parentdir\subdir

C:\parentdir\subdir>dir /B

file1.txt

file2.txt

file3.txt

C:\parentdir\subdir>\php521\php -r "foreach(scandir('.') as $f) { echo($f); }"

...file1.txtfile2.txtfile3.txt

C:\parentdir\subdir>\php522\php -r "foreach(scandir('.') as $f) { echo($f); }"

Warning: scandir(.): failed to open dir: Bad file descriptor in Command line code on line 1

Warning: scandir(): (errno 9): Bad file descriptor in Command line code on line 1

Warning: Invalid argument supplied for foreach() in Command line code on line 1

C:\parentdir\subdir>\php524\php -r "foreach(scandir('.') as $f) { echo($f); }"

Warning: scandir(.): failed to open dir: Bad file descriptor in Command line code on line 1

Warning: scandir(): (errno 9): Bad file descriptor in Command line code on line 1

Warning: Invalid argument supplied for foreach() in Command line code on line 1

  • Like 1
Link to comment
Share on other sites

  • Moderators

They are not getting generated, what happens if you manually generate then from the admin panel?

Also are you using any other fonts or is it the default?

Finally check all your folder permissions,

core/pages is writeable!

core/cache is writeable!

core/logs is writeable!

lib/rss is writeable!

lib/avatars is writeable!

lib/signatures is writeable!

Link to comment
Share on other sites

Hey i just witnesed your VA have some Errors on Pilot Center Page please resolve it as it is not good for your VA reputation.

SEE THIS

[b]Warning[/b]:  scandir(E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\/lib/signatures/background1) [[url="http://www.birdva.waleeddc.com/index.php/profile/function.scandir"]function.scandir[/url]]: failed to open dir: No error in [b]E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\core\common\PilotData.class.php[/b] on line [b]420[/b]

[b]Warning[/b]:  scandir() [[url="http://www.birdva.waleeddc.com/index.php/profile/function.scandir"]function.scandir[/url]]: (errno 0): No error in [b]E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\core\common\PilotData.class.php[/b] on line [b]420[/b]

[b]Warning[/b]:  Invalid argument supplied for foreach() in [b]E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\core\common\PilotData.class.php[/b] on line [b]422[/b]

Ahmad

Link to comment
Share on other sites

Hey i just witnesed your VA have some Errors on Pilot Center Page please resolve it as it is not good for your VA reputation.

SEE THIS

[b]Warning[/b]:  scandir(E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\/lib/signatures/background1) [[url="http://www.birdva.waleeddc.com/index.php/profile/function.scandir"]function.scandir[/url]]: failed to open dir: No error in [b]E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\core\common\PilotData.class.php[/b] on line [b]420[/b]

[b]Warning[/b]:  scandir() [[url="http://www.birdva.waleeddc.com/index.php/profile/function.scandir"]function.scandir[/url]]: (errno 0): No error in [b]E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\core\common\PilotData.class.php[/b] on line [b]420[/b]

[b]Warning[/b]:  Invalid argument supplied for foreach() in [b]E:\inetpub\vhosts\waleeddc.com\httpdocs\birdva\core\common\PilotData.class.php[/b] on line [b]422[/b]

Ahmad

Ok let me check

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...