Hi,
I use a Joomla 1.6 with phoca download 2.00 RC and I have next problem:
When I create new category, system print this error code:
Warning: implode() [function.implode]: Invalid arguments passed in /administrator/components/com_phocadownload/models/phocadownloadcat.php on line 155
Category is created, looks like it works, but link to subcategories from front end does´nt works. I uninstalled and reinstalled component again but no success. I tested it on server and on my PC (XAAMP LITE) too, but same error.
Please help. Thanks
creation category error
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: creation category error
Hi, thank you for this info, do you get some error if you enable debug mode?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
cuco11
- Phoca Member

- Posts: 13
- Joined: 09 Feb 2011, 13:18
Re: creation category error
Hi, thanks for your answer,
yes i got:
yes i got:
Code: Select all
Errors
The database row is empty.
Information
Backtrace
Call stack
# Function Location
1 JAdministrator->dispatch() /www/t/i/u3106/public_html/tisovec2011/administrator/index.php:47
2 JComponentHelper::renderComponent() /www/t/i/u3106/public_html/tisovec2011/administrator/includes/application.php:152
3 require_once() /www/t/i/u3106/public_html/tisovec2011/libraries/joomla/application/component/helper.php:152
4 JController->execute() /www/t/i/u3106/public_html/tisovec2011/administrator/components/com_phocadownload/phocadownload.php:26
5 PhocadownloadCpController->display() /www/t/i/u3106/public_html/tisovec2011/libraries/joomla/application/component/controller.php:629
6 JController->display() /www/t/i/u3106/public_html/tisovec2011/administrator/components/com_phocadownload/controller.php:85
7 PhocaDownloadCpViewPhocaDownloadCat->display() /www/t/i/u3106/public_html/tisovec2011/libraries/joomla/application/component/controller.php:596
8 JModelAdmin->checkout() /www/t/i/u3106/public_html/tisovec2011/administrator/components/com_phocadownload/views/phocadownloadcat/view.html.php:48
9 JModelForm->checkout() /www/t/i/u3106/public_html/tisovec2011/libraries/joomla/application/component/modeladmin.php:193
10 JTable->load() /www/t/i/u3106/public_html/tisovec2011/libraries/joomla/application/component/modelform.php:80- ep98
- Phoca Professional

- Posts: 163
- Joined: 12 May 2008, 12:00
- Contact:
Re: creation category error
Do not use XAMP/WAMP and others windows web environment based on PHP 5.3. 5.3 version is testing and also known as unstable, bugs reported from such versions of PHP is called SPAM in other forums.
If you wanna help testing Phoca Extensions and reporting bugs, use Hosting Provider such as Siteground or Lunar-Pages or whatever exist in you country - commercial hosting.
Or Windows server with similar to Hosting Providers settings.
PHP 5.2.xx
Apache 2.2 or 2.0, not 2.1
with enabled Zlib, Curl and GD2 (build-in)
You can build your own testing enviroment with any of the top 10 linux distributions such as Linux Mint or Ubuntu or Debian, or Fedora, or Cent OS and Virtual Box.
Joomla! and Phoca Extensions are created on PHP 5.2 and for PHP 5.2.
There is no such errors in creating categories/sub categories on
PHP 5.2.13
MySQL 5.0.91
Apache/2.2.17 (EL)
Distribution: Cent OS
Here is one more compatible version of XAMP, including:
[code]
+ Apache 2.2.9
+ MySQL 5.0.67 (Community Server)
+ PHP 5.2.6 + PHP 4.4.9 + PEAR
+ PHP-Switch win32 1.0 (use "php-switch.bat" in the xampp main directory)
+ XAMPP Control Version 2.5 from http://www.nat32.com
+ XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8i
+ phpMyAdmin 2.11.9.2
+ ADOdb 4.990
+ Mercury Mail Transport System v4.52
+ FileZilla FTP Server 0.9.27
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.3 für PHP 5.2.6 (but not activated in the php.ini)
[/code]
http://sourceforge.net/settings/mirror_ ... -1.6.8.zip
If you wanna help testing Phoca Extensions and reporting bugs, use Hosting Provider such as Siteground or Lunar-Pages or whatever exist in you country - commercial hosting.
Or Windows server with similar to Hosting Providers settings.
PHP 5.2.xx
Apache 2.2 or 2.0, not 2.1
with enabled Zlib, Curl and GD2 (build-in)
You can build your own testing enviroment with any of the top 10 linux distributions such as Linux Mint or Ubuntu or Debian, or Fedora, or Cent OS and Virtual Box.
Joomla! and Phoca Extensions are created on PHP 5.2 and for PHP 5.2.
There is no such errors in creating categories/sub categories on
PHP 5.2.13
MySQL 5.0.91
Apache/2.2.17 (EL)
Distribution: Cent OS
Here is one more compatible version of XAMP, including:
[code]
+ Apache 2.2.9
+ MySQL 5.0.67 (Community Server)
+ PHP 5.2.6 + PHP 4.4.9 + PEAR
+ PHP-Switch win32 1.0 (use "php-switch.bat" in the xampp main directory)
+ XAMPP Control Version 2.5 from http://www.nat32.com
+ XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8i
+ phpMyAdmin 2.11.9.2
+ ADOdb 4.990
+ Mercury Mail Transport System v4.52
+ FileZilla FTP Server 0.9.27
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.3 für PHP 5.2.6 (but not activated in the php.ini)
[/code]
http://sourceforge.net/settings/mirror_ ... -1.6.8.zip
-
cuco11
- Phoca Member

- Posts: 13
- Joined: 09 Feb 2011, 13:18
Re: creation category error
This error message is not from local machine but from hosting - server runnig on FreeBSD 8.1 and PHP version is 5.2.14
- ep98
- Phoca Professional

- Posts: 163
- Joined: 12 May 2008, 12:00
- Contact:
Re: creation category error
Then check the ownership and the permissions of the root foolder, phocadownload/
On some systems, u manually have to set (insecure) 777 for some folders, such as TMP, Downloads or PhocaDownload/, Images/ and to each sub-folder.
On some systems, u manually have to set (insecure) 777 for some folders, such as TMP, Downloads or PhocaDownload/, Images/ and to each sub-folder.
-
cuco11
- Phoca Member

- Posts: 13
- Joined: 09 Feb 2011, 13:18
Re: creation category error
I check permissions on phocadownload folder and I have it standard 755, i test with 777 but no success 
-
xantof
- Phoca Newbie

- Posts: 1
- Joined: 13 Feb 2011, 23:07
Re: creation category error
Hello and thank you for your work,
I too am having problems with the J1.6 version on localhost and creating a category.
I get the following message
Save failed with the following error: CATEGORY MUST HAVE A TITLE.
I also have 500 -- an error has occured for the
Licence, Statistics, and Users Menus.
??
I too am having problems with the J1.6 version on localhost and creating a category.
I get the following message
Save failed with the following error: CATEGORY MUST HAVE A TITLE.
I also have 500 -- an error has occured for the
Licence, Statistics, and Users Menus.
??