⚠ 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



Mohammed Zayan
  • profile picture
  • Member

Posted 29 November 2012 - 10:41 AM

Hi there,
I want to delete an uploaded file
but when I press delete

[img]http://im16.gulfup.com/69Eg1.jpg[/img]

nothing happen

[img]http://im28.gulfup.com/EtbD1.jpg[/img]

It doesn't delete.
what should I do??

victor
  • profile picture
  • Member

Posted 29 November 2012 - 10:58 AM

Is this problem solved?

Mohammed Zayan
  • profile picture
  • Member

Posted 29 November 2012 - 11:00 AM

not yet

victor
  • profile picture
  • Member

Posted 29 November 2012 - 11:03 AM

I think that you have a php error.

Mohammed Zayan
  • profile picture
  • Member

Posted 29 November 2012 - 14:50 PM

such as?

Mohammed Zayan
  • profile picture
  • Member

Posted 02 December 2012 - 18:27 PM

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

victor
  • profile picture
  • Member

Posted 02 December 2012 - 18:48 PM

You can see your errors in log file.http://ellislab.com/codeigniter/user-guide/general/errors.html.

Mohammed Zayan
  • profile picture
  • Member

Posted 02 December 2012 - 19:35 PM

Can you give me more help?

victor
  • profile picture
  • Member

Posted 02 December 2012 - 19:46 PM

Change the config.php

$config['log_threshold'] = 4;

Then you should set permissions 777 on the log directory (application/log).
Then you can test your code. In this directory you can see a log file which contain all error messages.

victor
  • profile picture
  • Member

Posted 02 December 2012 - 19:47 PM

[quote]
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages[/quote]

Mohammed Zayan
  • profile picture
  • Member

Posted 03 December 2012 - 19:59 PM

The log file in attachments

victor
  • profile picture
  • Member

Posted 03 December 2012 - 20:07 PM

attach your language file too.

Mohammed Zayan
  • profile picture
  • Member

Posted 03 December 2012 - 20:10 PM

language file

victor
  • profile picture
  • Member

Posted 03 December 2012 - 20:26 PM

did you get this file when you clicked "delete"?

victor
  • profile picture
  • Member

Posted 03 December 2012 - 20:36 PM

I don't know why, but you have this error
[quote]ERROR - 2012-12-02 20:49:23 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d------a/public_html/O---D----CP/assets/grocery_crud/languages/arabic.php:1) /home/d------a/public_html/O---D----CP/system/core/Output.php 391[/quote]
try reinstall your language file.

victor
  • profile picture
  • Member

Posted 03 December 2012 - 20:48 PM

I tested your language file on my local computer. I haven't this error. It's strange.

Mohammed Zayan
  • profile picture
  • Member

Posted 03 December 2012 - 20:53 PM

yes there is no error in my local too
The problem is online

victor
  • profile picture
  • Member

Posted 03 December 2012 - 20:59 PM

try set the English language as default

$config['grocery_crud_default_language'] = 'english';
end test it again

victor
  • profile picture
  • Member

Posted 03 December 2012 - 21:05 PM

what result do you have?

Mohammed Zayan
  • profile picture
  • Member

Posted 03 December 2012 - 21:08 PM

same thing no deleting