Critical error while Approving an uploded file - Script called without the re... Critical error while Approving an uploded file - Script called without the re...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Critical error while Approving an uploded file - Script called without the re...

Started by Vargha, June 05, 2006, 04:24:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vargha

hi guys
whenever i try to approve an uploaded file, it says this error


Critical error
Script called without the required parameter(s).

File: E:\Rangarang's Server\www\Buddies\editpics.php - Line: 96

can anyone help me please  :'(
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Paver

It works fine on my 1.4.6 testbed.

What version are you running?  Do you have any plugins or hacks/mods applied?

Looking at editpics.php, I believe that error message occurs because you're missing a hidden input field 'pid[]'.  Take a look at your HTML source on the approval page (before you submit & get the error message) and search for 'pid[]'.  If you find a field or multiple fields, then I'm not sure why you're getting this error message.  If you don't find any fields, then I'm not sure why you're missing that field since editpics.php should create one for each picture to be approved.

Vargha

im usin 1.4.6 latest version and yes i only have Onlinestats (Who is online) v1.2 plugin installed and im sure my editpics.php isnt missing anything, please help  :'(
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Vargha

fixed thnx  ;D i just got angry an simple reinstalled it lmao  ;D
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Paver

Since I cannot reproduce the problem, it's going to be difficult to troubleshoot blindly.

Have you tried using a core theme?  You can switch it just for you by putting "?theme=classic" in the URL.  To go back to the default theme, you'll have to clear the cookie for your domain and re-login.  There's only a slim chance it's a theme customization issue, but might as well try it.

Depending upon what you want to do, you can either send me an admin account by private message or you can save the editpics.php page to a file and attach it to your post here.  If you do the latter, make sure to save the actual editpics.php and not the frame outside it (which your site uses).  In Firefox, I right-click on the frame and choose "Save Page As".

Joachim Müller

Quote from: vargha on June 05, 2006, 04:24:50 PM
File: E:\Rangarang's Server\www\Buddies\editpics.php - Line: 96
A special char in the path to the webroot is not a bright idea, especially a single quote/apostrophe.

Vargha

can you please mark dis as solved  :)
the problem was with my imagemagick
i installed gd an it worked well :D
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)