insert images "You are not authorized"
Moderator: Thorsten
-
- Posts: 38
- Joined: Thu Feb 19, 2004 11:55 am
- Contact:
insert images "You are not authorized"
Hi,
I updated on V 1.6.0 and now my authors can't insert images. They get "You are not authorized". What' wrong?
Regards
Marc
I updated on V 1.6.0 and now my authors can't insert images. They get "You are not authorized". What' wrong?
Regards
Marc
ENCYCLOPÆDIA CATANICA - http://www.siedeln.de/faq
-
- Posts: 38
- Joined: Thu Feb 19, 2004 11:55 am
- Contact:
Hi,
it works for me here. Which rights do the users have?
bye
Thorsten
it works for me here. Which rights do the users have?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 38
- Joined: Thu Feb 19, 2004 11:55 am
- Contact:
Nearly all rights. 00011100111111111111011
They don't have:
Benutzer hinzufügen
Benutzer editieren
Benutzer löschen
Log ansehen
Adminlog einsehen
Sicherung wiederherstellen
Marc
They don't have:
Benutzer hinzufügen
Benutzer editieren
Benutzer löschen
Log ansehen
Adminlog einsehen
Sicherung wiederherstellen
Marc
ENCYCLOPÆDIA CATANICA - http://www.siedeln.de/faq
Hi,
works here, too...
Can you give me access to your FAQ?
bye
Thorsten
works here, too...
Can you give me access to your FAQ?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi there!
Got the same Troubles by updating to 1.6.1.
Imagemanager doesn't upload any Picture, on refresh it says an error:
In This Line the code
should check, if the user is allowed to add attachments? if yes, the user is definitly so:
greets,
Docstone
Got the same Troubles by updating to 1.6.1.
Imagemanager doesn't upload any Picture, on refresh it says an error:
Code: Select all
Notice: Undefined variable: auth in C:\WDB_NEU\faq\admin\editor\plugins\ImageManager\images.php on line 96
You are not authorized.
Code: Select all
if ($auth && $permission["addatt"]) {
Code: Select all
User (User1) 11111111111111111111111
Docstone
Hi,
locate, backup and open the file [PATH_TO_PMFINSTALL]/admin/editor/plugins/ImageManager/images.php and, please, add this debug code just above the line 96:
This is what I expect you'll see in the main image manager window when you'll try to upload a new image by clicking on the "Insert/Modify Image" button in the editor toolbar:
locate, backup and open the file [PATH_TO_PMFINSTALL]/admin/editor/plugins/ImageManager/images.php and, please, add this debug code just above the line 96:
Code: Select all
...
// Debug code - START
print '$auth: '.$auth.'<br />';
print '$permission["addatt"]: '.$permission["addatt"].'<br />';
exit();
// Debug code - END
if ($auth && $permission["addatt"]) {
...
Code: Select all
$auth: 1
$permission["addatt"]: 1
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Hi,
if so, currently I miss the reason why you got from your logs:
This is the rule: IF $auth is undefined THEN it is correct to read "You are not authorized." BECAUSE the AND condition fails.
But in your case $auth variable seems to be correctly defined since you can regularly read:
I need some time to think at the reason why this could be possible...
if so, currently I miss the reason why you got from your logs:
Code: Select all
Notice: Undefined variable: auth in C:\WDB_NEU\faq\admin\editor\plugins\ImageManager\images.php on line 96
But in your case $auth variable seems to be correctly defined since you can regularly read:
Code: Select all
$auth: 1
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
[ENGLISH]
Hi Guys,
give it something news on this issue?
Now, i run in the same Problem.
My authors can insert pictures, uploaded them but can't read them.
If I try to insert a new image per upload, i see from my last uploaded file only the filename, but not the picture.
The only pictures i can see are the phpmyfaq pictures.
I don't find any reason at this moment
I can't give you a link to my FAQ, because it runs in a intranet.
[DEUTSCH]
Hi, gibt es hier irgendwas neues zu dem Thema?
Heute habe ich das gleiche Problem bekommen, Autoren können Bilder uploaden, aber sie werden nicht angezeigt.
Wenn man erneut ein Bild hochlädt, dann sehe ich im Vorschaufenster nur den Dateinamen des Bildes aber nicht das Bild ansich.
Die einzigen Bilder die ich sehen kann, sind die die von hause mit dem script mitkommen.
Einen Link zu meinem installierten Script kann ich euch leider nicht geben, denn es läuft im Intranet.
MY SYSTEM:
Windows 2003
IIS 6
PHP Version 5.2.1RC4-dev (ISAPI)
MySQL-Client-Version: 5.0.22
phpMyFAQ 1.6.8
Hi Guys,
give it something news on this issue?
Now, i run in the same Problem.
My authors can insert pictures, uploaded them but can't read them.
If I try to insert a new image per upload, i see from my last uploaded file only the filename, but not the picture.
The only pictures i can see are the phpmyfaq pictures.
I don't find any reason at this moment
I can't give you a link to my FAQ, because it runs in a intranet.
[DEUTSCH]
Hi, gibt es hier irgendwas neues zu dem Thema?
Heute habe ich das gleiche Problem bekommen, Autoren können Bilder uploaden, aber sie werden nicht angezeigt.
Wenn man erneut ein Bild hochlädt, dann sehe ich im Vorschaufenster nur den Dateinamen des Bildes aber nicht das Bild ansich.
Die einzigen Bilder die ich sehen kann, sind die die von hause mit dem script mitkommen.
Einen Link zu meinem installierten Script kann ich euch leider nicht geben, denn es läuft im Intranet.
MY SYSTEM:
Windows 2003
IIS 6
PHP Version 5.2.1RC4-dev (ISAPI)
MySQL-Client-Version: 5.0.22
phpMyFAQ 1.6.8