⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

deleting uploaded file error



victor
  • profile picture
  • Member

Posted 03 December 2012 - 21:11 PM

1)delete the old log file.
2) test the English language
3) attach a new log file here

Mohammed Zayan
  • profile picture
  • Member

Posted 03 December 2012 - 21:16 PM

here it's

victor
  • profile picture
  • Member

Posted 03 December 2012 - 21:23 PM

In this case you haven't this error too.
Can you upload the file on server or doesn't work too?

Mohammed Zayan
  • profile picture
  • Member

Posted 03 December 2012 - 21:26 PM

I can upload files without any problems
I have this problem only (on the server)

victor
  • profile picture
  • Member

Posted 03 December 2012 - 21:29 PM

I sent a private message to you

Mohammed Zayan
  • profile picture
  • Member

Posted 21 December 2012 - 15:33 PM

I update the grocerycrud version
[img]http://im29.gulfup.com/kxY81.jpg[/img]

but the problem still there

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 25 December 2012 - 16:02 PM

The problem is obviously at:

[b]ERROR - 2012-12-02 20:49:23 --> Severity: Warning --> chmod() has been disabled for security reasons /home/d------a/public_html/O---D----CP/system/libraries/Log.php 106[/b]

Solutions? With a quick google search:

Solution for the "chmod disabled" issue
In order to eliminate this error message you need to do ONE of the following things:

Remove the chmod string from the disable_functions at php.ini* file
Ask your hosting provider to remove the string above if you don't have an access to the php.ini* file
Change hosting provider which allows the running of the chmod function.

Please try it and if it will not work please attach as an image like this: [b]but please give us the HTML and not the response.[/b]

[img]http://im20.gulfup.com/4sej1.jpg[/img]

victor
  • profile picture
  • Member

Posted 25 December 2012 - 16:09 PM

web-johnny, But other code works perfectly in this project as I see

Mohammed Zayan
  • profile picture
  • Member

Posted 25 December 2012 - 16:17 PM

yes, there is similar deleting in other modules and all works
but this one not work

like this
[img]http://im23.gulfup.com/cPyN1.jpg[/img]

victor
  • profile picture
  • Member

Posted 25 December 2012 - 16:17 PM

Mohammed Zayan,
do other modules work perfectly ( which uses uploading)?

Mohammed Zayan
  • profile picture
  • Member

Posted 25 December 2012 - 16:20 PM

yes

victor
  • profile picture
  • Member

Posted 25 December 2012 - 16:21 PM

Try rename your function

Mohammed Zayan
  • profile picture
  • Member

Posted 25 December 2012 - 17:04 PM

what function do you mean?

victor
  • profile picture
  • Member

Posted 25 December 2012 - 17:09 PM

cat_sites

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 December 2012 - 15:50 PM

Ok maybe you are right guys. Can you please send me the url for testing as a Private Message? The problem can be anywhere so it is better for me to debug it and see what the problem could be.

Thanks
Johnny

victor
  • profile picture
  • Member

Posted 27 December 2012 - 16:37 PM

the firebug doesn't shows an error in this case. we have server error 503 only.

victor
  • profile picture
  • Member

Posted 27 December 2012 - 16:38 PM

show server log in private message.

Mohammed Zayan
  • profile picture
  • Member

Posted 27 December 2012 - 17:20 PM

[quote name='web-johnny' timestamp='1356623410' post='4903']
Ok maybe you are right guys. Can you please send me the url for testing as a Private Message? The problem can be anywhere so it is better for me to debug it and see what the problem could be.

Thanks
Johnny
[/quote]

Done

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 December 2012 - 18:54 PM

Ok, I checked the problem but you have all the errors disabled and it is still the same for me. I am pretty sure that this problem is because of the chmod. Probably you have problem with the unlink as you don't have access to delete the file (probably).

Please make sure that you do the following steps:

[quote]Solution for the "chmod disabled" issue
In order to eliminate this error message you need to do ONE of the following things:

Remove the chmod string from the disable_functions at php.ini* file
Ask your hosting provider to remove the string above if you don't have an access to the php.ini* file
Change hosting provider which allows the running of the chmod function.[/quote]

Does this problem exists to your local machine too? It only happen to the live website or to your local too? If this happens [b]ONLY[/b] to your production server please give us PHP version. I am guessing that you have problems with your hosting (in my opinion ). Everything else seems to be working as expected.

Mohammed Zayan
  • profile picture
  • Member

Posted 27 December 2012 - 20:08 PM

the problem is online only
I don't know the PHP version for the server