Перейти к содержимому


Фотография
- - - - -

Not able to export files from JBZoo


  • Закрытая тема Тема закрыта
Сообщений в теме: 12

#1 tkdas

tkdas

Отправлено 06 December 2013 - 06:53

I am getting the below error when trying to export data:    Notice Error create report (Unable to write to file /home/<mypath>/public_html/tmp/jbzoo-export/items_card.csv.)

 

My chmod permissions for the folder are as below: 

 
drwxr-xr-x 2 <mydomain> <mydomain> 4096 Dec  6 00:47 jbzoo-export
 
 
I have added the below to .htaccess: 
 
php_value max_input_vars 9000
php_value suhosin.post.max_vars 9000
php_value suhosin.request.max_vars 9000

  • 0

#2 Kess

Kess

Отправлено 06 December 2013 - 09:21

Please, check if the tmp directory is listed as writable in "System" -> "System Information" -> "Directory Permissions":

 

 000_200x0.png

 

 

ykp_200x0.png

 

Sometimes it's not enough to just know chmod permissions. 


  • 0

#3 tkdas

tkdas

Отправлено 06 December 2013 - 12:47

I checked. 

/public_html/tmp (Temp directory) is writable for mu domain


  • 0

#4 Kess

Kess

Отправлено 06 December 2013 - 16:13

Can you, please, check the name of the user who runs your website? (apache) and the owner of the tmp folder?

 

Also, just as a temporary test, try to set 777 permissions to tmp folder.


  • 0

#5 tkdas

tkdas

Отправлено 07 December 2013 - 19:43

I did a chmod 777 for tmp:
drwxrwxrwx  3 root         root           4096 Dec  7 21:35 tmp
So I think root is the owner of this folder. Or let me know, how to find out who is the owner? 
 
 
Even then i am getting the same error: 
 
Notice Error create report (Unable to write to file /home/<mypath>/public_html/tmp/jbzoo-export/items_card.csv.)


  • 0

#6 Kess

Kess

Отправлено 09 December 2013 - 13:26

Please, make a php file with the following contents and execute it:

<?php echo exec('whoami'); ?>

This should display a user who is running your website.


  • 0

#7 tkdas

tkdas

Отправлено 13 December 2013 - 23:38

When I run the above command it returns apache. 

Is that right or wrong. 

I am still getting the same error. 

I know it is a permission issue but not sure which permissions to resolve. Kindly guide. 


  • 0

#8 tkdas

tkdas

Отправлено 15 December 2013 - 00:58

hi kess kindly advise.


  • 0

#9 Kess

Kess

Отправлено 15 December 2013 - 10:36

Hello,

 

Let's try to temporary change the owner of tmp folder to "apache" and see how it works after that. I think you can make it using chown.

 

Also, please, make a JBZoo system report and send it to me. You can create a report by going to the "cog-wheel" tab -> "JBZoo Admin":

 

bhc_200x0.png


  • 0

#10 tkdas

tkdas

Отправлено 15 December 2013 - 11:35

I changed the owner to apache with chown for both tmp and jbzoo-export

Restarted apache. 

I still get the same error. Output of Check requirements is as below: 

Zoo Requirements If any of the items below are highlighted in red, you should try to correct them. Failure to do so could lead to your ZOO installation not functioning correctly.
Requirement Status Info   PHP 5.2.7+ OK   Extension: JSON OK   Extension: Multibyte String OK   Function: imagegd OK   Function: simplexml_load_string OK   Function: simplexml_load_file OK   Function: dom_import_simplexml OK   Class: SimpleXMLElement OK   Class: ArrayObject OK   Zoo Recommendations The items below are recommendations only and ZOO will work fine if items are marked in red. However, you'll have an improved ZOO experience by fullfilling these recommendations.
Recommendation Status Info   Extension: cURL OK   Extension: Multibyte String OK   Extension: Alternative PHP Cache (APC) Not OK An opcode cache, like the Alternative PHP Cache (APC) extension, might significantly improve ZOOs memory footprint. http://www.php.net/m...en/book.apc.php PHP Safe Mode OK   PHP Memory Limit OK   PHP Realpath Cache Not OK It is recommended to set the php realpath cache setting realpath_cach

 

How can I upload the system report. Or is there an email id I can send it to. 


  • 0




Click to return to top of page in style!