Hi.
I’m installing a latest modx 0.9.6
I receive an error "You don’t have enough privileges for this action!" when trying to get to some of created pages (or after creating/editing page) in manager.
With close radion button switched - showing the-cleaning-up-message and after that before returning to the page I just edited throws a JS alert window with "You don’t have enough privileges for this action!" and OK button. After clicking OK it reloads right frame and throws an error again, so i have to click anything rapidly (manage resources for example) to break this circle.
And it happents after a clean installation - nothing was done.
And I can’t understand why it happens - where can I see logs? Or where should I switch debug mode?
I tried IE6 and Firefox 2 - both get errors.
My OS WinXP Pro, browsers IE 6, Firefox 2
Server data:
PHP Version 4.4.7
System FreeBSD 4.11-RELEASE-p17 i386
SERVER_SOFTWARE Apache/1.3.37 (Unix)
Important
When error appears in manager apache writes the following log:
[tt][Tue Oct 16 20:58:43 2007] [error] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/u43221/my.domain/www/manager/actions/document_data.static.php on line 31[/tt]
the code at this line is
[tt]$limit = mysql_num_rows($rs);[/tt]
Don’t know what to do with it actually
One more bug - when editing page and entering alias it doesn’t save it.
And apache log is
[tt][Tue Oct 16 22:28:16 2007] [error] PHP Warning: strtr() [<a href=’function.strtr’>function.strtr</a>]: The second argument is not an array. in /home/u43221/my.domain/www/manager/processors/save_content.processor.php on line 859
[/tt]
I repeat - it’s out of box installation 0.9.6.
Any ideas???
-
MODX Staff
- 10,725 Posts
The last issue is a known issue with non-UTF-8 sites and there are several threads here discussing workarounds.
The previous issue sounds like it might be related to the table_prefix you’ve chosen. Can you tell me what your table_prefix is and what version of MySQL the server is running?
MySQL Client API version 4.0.24
Table prefix a-pik4_ all in english
update: so you mean it’s better to leave UTF encoding and the problem just goes?
GREAT!!! Thenk you OpenGeek.
I made prefix "a1_" and it worked.
I guess modx didn’t like "-" in prefix - that’s weird

.
The only error left in logs is
[tt][Wed Oct 17 20:14:23 2007] [error] [client 217.10.47.251] File does not exist: /home/u43221/my.domain/www/manager/media/images/misc/dot.gif[/tt]
I guess that’s installation bug that will be fixed.