Advanced search  

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

Pages: [1]   Go Down

Author Topic: Upload.php directs to something else  (Read 12742 times)

0 Members and 1 Guest are viewing this topic.

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Upload.php directs to something else
« on: August 02, 2019, 05:04:16 pm »

Hello! I am at my wits end with this problem. On my site, when I want to upload and click upload files, it directs me to a none existing site.
I am using the latest coppermine version. I have not changed anything..
I have had this problem once and if I remember correct it was something with the online stats plugin. But I got it working again.. (I don't exactly remember how..and what was causing the problem, but I was glad it worked again).

Now I have disabled all the plugins and it still doesnt work... I have downgraded coppermine version.. but that didn't work either.
I have read the trouble shooting, but its none of that either.
So, I hope someone can help me out here!

The site:
audrinapatridgeonline.com/gallery

I created a user to test:
Name: xxxx
Pass: xxxx

My host doesn't know anything about coppermine so you guys are my last hope. Thank you so much!

(I hope I have explained myself correctly, as english is not my native language)
« Last Edit: August 02, 2019, 08:36:03 pm by ron4mac »
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Upload.php directs to something else
« Reply #1 on: August 02, 2019, 08:31:19 pm »

It would seem that you are missing a file (upload.php) in your gallery folder.

Run the cpg_installer_stub again ... but make sure to use the 3.3 version
https://forum.coppermine-gallery.net/index.php/topic,79168.msg383813.html#msg383813
Logged

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload.php directs to something else
« Reply #2 on: August 03, 2019, 08:53:00 am »

Thank you for your reply!

But I do have the upload.php file in the folder. I even have copied the file from another one of my sites and uploaded that.. but didn't work either.

I have tried what you said.. but still that didn't work :(
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Upload.php directs to something else
« Reply #3 on: August 03, 2019, 12:58:24 pm »

Next best guess is that there is an .htaccess file that is interfering with the normal operation ... maybe something associated with WordPress.
Logged

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload.php directs to something else
« Reply #4 on: August 03, 2019, 01:07:50 pm »

Do you mean that I have te delete the file and create a new one?

I have just tried that, but seems it's not that.

I really don't know what is going on.. It worked perfectly just a week ago. I haven't made any changes so its really confusing  :-\
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Upload.php directs to something else
« Reply #5 on: August 03, 2019, 01:14:56 pm »

Place this file in your gallery (unzipped as filemanager.php).
It will let me look around your site.
« Last Edit: August 03, 2019, 01:39:36 pm by ron4mac »
Logged

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload.php directs to something else
« Reply #6 on: August 03, 2019, 01:16:45 pm »

Thank you! I have uploaded the file.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Upload.php directs to something else
« Reply #7 on: August 03, 2019, 01:25:42 pm »

The permissions set for upload.php were too permissive (777). The server would block execution of that file. I set permissions to 644 and upload is okay now.
Logged

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload.php directs to something else
« Reply #8 on: August 03, 2019, 01:27:03 pm »

oh my god, thank you so much! such a simple solution..
I thought that the permission was set okay, so never thought about that.

Thank you again!
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Upload.php directs to something else
« Reply #9 on: August 03, 2019, 01:30:37 pm »

While looking at your gallery files, I noticed a very large file (9Gb) with a cryptic name. Don't know why it should have been there ... just letting you know.
Logged

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload.php directs to something else
« Reply #10 on: August 03, 2019, 01:32:04 pm »

Oh I see.. the zi8Nzkfl file? I don't know what that is.. do you think I can remove it??
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Upload.php directs to something else
« Reply #11 on: August 03, 2019, 01:35:53 pm »

Can't advise you because I don't know what it is.

BTW: Your english is excellent!
Logged

AmandaAva

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Upload.php directs to something else
« Reply #12 on: August 03, 2019, 01:44:10 pm »

Okay, I'm gonna have a look at it, thank you for helping me out!

And thank you! :)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.