Author Topic: Help asked  (Read 10017 times)

0 Members and 2 Guests are viewing this topic.

smegmb

  • Full Member
  • ***
  • Posts: 6
Help asked
« on: March 10, 2015, 07:25:47 PM »
Hello,

I have uploaded the files (Mibew/1.6.15) to my website under
public_html/mibew

I put mibew folder and all inside to 777 to make sure there are no restriction.

Here are my parameters in the config.php file (just removed the password)
*/
$mibewroot = "/mibew";

/*
 *  Internal encoding
 */
$mibew_encoding = "utf-8";

/*
 *  MySQL Database parameters
 */
$mysqlhost = "localhost";
$mysqldb = "gqjrzxwt_mibew";
$mysqllogin = "gqjrzxwt_bdn1";
$mysqlpass = "removed";
$mysqlprefix = "";

When I try
http://www.mydomain.com/mibew/install/
I always get error 403.

Can I get help from someone?

Thanks,
Marc.


faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Help asked
« Reply #1 on: March 10, 2015, 08:07:50 PM »
What about messages in the error log?

And have you tried to request /mibew/install/index.php ?

I put mibew folder and all inside to 777 to make sure there are no restriction.

Bad idea.

smegmb

  • Full Member
  • ***
  • Posts: 6
Re: Help asked
« Reply #2 on: March 10, 2015, 08:25:58 PM »
Can't find any error log.

Yes I tried
http://www.mydomain.com/mibew/install/index.php but it doesn't help.

I know 777 is not a good Idea but I tried just in case...
« Last Edit: March 10, 2015, 08:27:38 PM by smegmb »

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Help asked
« Reply #3 on: March 11, 2015, 08:23:36 AM »
Sorry, but without any details I'm unable to help you.

smegmb

  • Full Member
  • ***
  • Posts: 6
Re: Help asked
« Reply #4 on: March 11, 2015, 11:08:01 PM »
Here are more complete details. Please help me as I really want to use this tool. Thanks.

I have downloaded the mibew version 1.6.15. And I have uploaded all the files to my website host server. My website is hosted by a specialized company. My website files are all under ''public_HTML''. So the mibew files are all under ''public_HTML/mibew''.

My computer is linux and I used filezilla to tranfer the files. Once uploaded I have changed the permission of the ''mibew'' folder only to 755 and the ''install'' folder to 644. (No recursion in sub-folders)

Using my CPANEL I have created a database with the help of this webpage
http://www.webdevelopersnotes.com/how-do-i/create-mysql-database-web-site-server.php

I have edited the config.php file under ''mibew/libs'' with my database info. Here is the whole content of the config.php file where I replaced the pw by ''removed''.

<?php
/*
 * This file is a part of Mibew Messenger.
 *
 * Copyright 2005-2015 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 *  Application path on server
 */
$mibewroot = "/mibew";

/*
 *  Internal encoding
 */
$mibew_encoding = "utf-8";

/*
 *  MySQL Database parameters
 */
$mysqlhost = "localhost";
$mysqldb = "gqjrzxwt_mibew";
$mysqllogin = "gqjrzxwt_bdn1";
$mysqlpass = "removed";
$mysqlprefix = "";

$dbencoding = "utf8";
$force_charset_in_connection = true;

/*
 *  Mailbox
 */
$mibew_mailbox = "mibew@yourdomain.com";
$mail_encoding = "utf-8";

/*
 *  Locales
 */
$home_locale = "en"; /* native name will be used in this locale */
$default_locale = "en"; /* if user does not provide known lang */

/*
 * Additional protection using open_basedir
 */
$use_open_basedir_protection = false;

?>

Now, when I open my browser and try
http://www.mydomain.com/mibew/install/
I get
Erreur 403 Error
Is Forbidden

I must be doing something wrong but I don't know what.
Can you help?

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Help asked
« Reply #5 on: March 12, 2015, 08:35:11 AM »
Once uploaded I have changed the permission of the ''mibew'' folder only to 755 and the ''install'' folder to 644. (No recursion in sub-folders)

And why have you did this?  ???

Let me quote the README for you:

Quote
3. Make sure that the user, under which the web server is running (for
    instance, www), is able to access and read all files in mibew folder
    and all of its subfolders.

    On *nix systems the simplest way is to use this pair of commands:

    find -type f | xargs chmod 0644
    find -type d | xargs chmod 0755

You should follow the steps described in installation instruction. All ordinary files (including those in the subdirectories) should have permissions mask of 0644 and all directories (including subdirectories) should have permissions mask of 0755.

smegmb

  • Full Member
  • ***
  • Posts: 6
Re: Help asked
« Reply #6 on: March 12, 2015, 03:36:11 PM »
I don't know how to perform step 3. Can I do it with Filezilla? When I right click on my 'mibew' folder on distant site, I get a menu 'File access rights...'. I tought it was the way to do it.
I don't know how and where to type the provided commands:
   find -type f | xargs chmod 0644
   find -type d | xargs chmod 0755

thanks....


Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Help asked
« Reply #7 on: March 12, 2015, 09:52:17 PM »
When you'll set the correct permissions the installation should work fine.

I just want you to know that the forum is dedicated for Mibew problems and not linux administration stuff. The problem is only in setting correct permissions to the folders and it is not related with Mibew. Try to search the Internet about how to set file permissions recursively with Filezilla or get ssh access to your server and run commands from the README.

smegmb

  • Full Member
  • ***
  • Posts: 6
Re: Help asked
« Reply #8 on: March 18, 2015, 05:49:17 PM »
Hello,

I was able to make it work. I have translated most of it in french but I'm not able to translate the button itself as you can see here
http://www.solmeg.com/album4_011.htm
can you give me some indications on which file need to be modified for getting a french button? Let's say I would use the simple one as you can see on my site.

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Help asked
« Reply #9 on: March 18, 2015, 06:27:54 PM »
You should create new topic for a separated problem. Thus I've moved your last message here: https://mibew.org/forums/index.php/topic,191735.0.html