This topic was marked solved by Nao, on October 6th, 2014, 05:22 PM

wedge.helmer.co

  • Grumpy Old Man
  • Posts: 18
Hacking attempt...
« on October 6th, 2014, 01:49 AM »
OK I decided to do a new install. I got the latest zip and moved it to my test site. When I run /install/install.php, I see the following:

Hacking attempt...

Any idea how to correct this?


John

CerealGuy

  • Posts: 343
Re: Hacking attempt...
« Reply #1, on October 6th, 2014, 02:16 PM »
First it's enough to open /index.php, if there is no configuration.php, installation starts automatically. And i think thats the problem, delete configuration.php (or better, rename it) and try again.

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Hacking attempt...
« Reply #2, on October 6th, 2014, 05:24 PM »
Accessing an external installer script is so 2005... So SMF really. Wedge does everything for you and it's more secure, too.

wedge.helmer.co

  • Grumpy Old Man
  • Posts: 18
Re: Hacking attempt...
« Reply #3, on October 6th, 2014, 06:35 PM »
I checked and their is not a configuration.php file. I also tried just using the index,php file. All I get is errors. I will play with it some more.
Re: Hacking attempt...
« Reply #4, on October 6th, 2014, 07:13 PM »
Well I reloaded everything. Changed al files to 777 and I get the following;

Warning: file_put_contents(/home/helmer/public_html/wedge/Settings_bak.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 54

Warning: file_put_contents(/home/helmer/public_html/wedge/Settings.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 54

Warning: mkdir() [function.mkdir]: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/attachments/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/attachments/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: mkdir() [function.mkdir]: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/app/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/keys/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/keys/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/css/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/css/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/js/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/js/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/lang/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/gz/lang/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: mkdir() [function.mkdir]: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/album_icons/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/albums/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/avatars/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/ftp/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/icons/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: copy(/home/helmer/public_html/wedge/media/icons/camera.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/default.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/doc.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/film.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/folder.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/gz.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/htm.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/html.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/music.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/pdf.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/ppt.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/rtf.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/sit.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/tgz.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/txt.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/xls.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/xml.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: copy(/home/helmer/public_html/wedge/media/icons/zip.png) [function.copy]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 109

Warning: mkdir() [function.mkdir]: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/media/tmp/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: mkdir() [function.mkdir]: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 98

Warning: file_put_contents(/home/helmer/public_html/wedge/plugins/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 104

Warning: file_put_contents(/home/helmer/public_html/wedge/plugins/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 190

Warning: file_put_contents(/home/helmer/public_html/wedge/.htaccess) [function.file-put-contents]: failed to open stream: Permission denied in /home/helmer/public_html/wedge/core/app/OriginalFiles.php on line 282

Warning: require_once(/home/helmer/public_html/wedge/Settings.php) [function.require-once]: failed to open stream: No such file or directory in /home/helmer/public_html/wedge/index.php on line 43

Fatal error: require_once() [function.require]: Failed opening required '/home/helmer/public_html/wedge/Settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/helmer/public_html/wedge/index.php on line 43



Ok I am lost, What am I doing wrong?

CerealGuy

  • Posts: 343
Re: Hacking attempt...
« Reply #5, on October 6th, 2014, 07:18 PM »
You didnt set the correct file permissions. I dont know if you have a webspace or "real" access, but change the permissions so that the webserver user can read (and sometimes write) to those files.

wedge.helmer.co

  • Grumpy Old Man
  • Posts: 18
Re: Hacking attempt...
« Reply #6, on October 6th, 2014, 08:15 PM »
I had set all files to 777. I will try once again.
Re: Hacking attempt...
« Reply #7, on October 6th, 2014, 09:18 PM »
Well I put the zip file on my server and uncompressed. Changed everything to 777. Still the same problem. Works fine on my local test machine just not on my server. I am going to take a rest and try again later.

Thank you everyone for your suggestions.


John

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Hacking attempt...
« Reply #8, on October 6th, 2014, 09:19 PM »
Usually it's 0755 for folders and 0644 for files, or the other way around. 0777 is overkill and might get blocked. Honestly not sure.

wedge.helmer.co

  • Grumpy Old Man
  • Posts: 18
Re: Hacking attempt...
« Reply #9, on October 7th, 2014, 03:56 AM »
OK, found my issue. The directory I was installing in was set to 755. Set it to 777 and installed fine.

John

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Hacking attempt...
« Reply #10, on November 12th, 2014, 11:49 PM »
0755 should work in general better than 0777 for folders, so I still recommend trying out 0755 first...