• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] CAN'T SIGN IN

Started by mihai,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mihaiTopic starter

I just installed my phpVibe script and i can't sign in.How can i fix that?

http://youplaytest.com/
  •  

Marius P.

Hi, first there is a server error
Warning:  Unknown: open_basedir restriction in effect. File(/home/path/public_html/domain/PHP_errors.log) is not within the allowed path(s): (/home/youplayt:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0[br /]


Your problem is missing the PHPVibe .htaccess file in root, all links return the homepage.
You can refer to it in the documentation also (in the zip archive downloaded).
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

I have the .htaaccess file in root
  •  

PHPVibe A.

Quote from: mihai on
I have the .htaaccess file in root

Check if it has this content:


<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^embed/([^/]*)/$ /embed.php?id=$1 [L]
RewriteRule ^feed(.*)$ feed.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/?$ index.php?rp=$1 [L]
</IfModule>
<ifModule mod_headers.c>
    Header set Access-Control-Allow-Origin: *
</ifModule>


Also that you server has a proper setup for mod_rewrite.

http://www.phpvibe.com/forum/troubleshooting-issues/installing-issues/msg18093/#msg18093
http://www.phpvibe.com/forum/troubleshooting-issues/login-error-404/msg17413/#msg17413
http://www.phpvibe.com/forum/troubleshooting-issues/login-register-page-not-found/msg15938/#msg15938

mihaiTopic starter

Exactly the same content and i asked my host provider what do you ask me.I am waiting for an answer
  •  

PHPVibe A.

It would be important to know what server you run it on. Is it Apache or something else? Because otherwise we can just speculate..

mihaiTopic starter

#6
mod_rewrite is enabled and i use Apache 2.2.26
  •  

PHPVibe A.

Did you tried to install a fast wordpress and enable permalinks in it? Just to see if there is an issue with mod_rewrite. They use the same engine. You can find other threads in the forum when mod_rewrite was enabled but not configured well.

mihaiTopic starter

I INSTALLED A WORDPRESS SITE AND I ENABLED PERMALINKS AND IT WORKED
  •  

mihaiTopic starter

I GUESS MY PROBLEM IS THAT I DIDN'T INSTALLED HOW SHOULD I SOPOUSE TO INSTALL THE PHPVIBE SCRIPT
  •  

mihaiTopic starter

  •  

PHPVibe A.

So it's not from the mod_rewrite.
Send am ftp to info@mediavibe.ro with title: "Pass this on to Alex" so I can have a look when I get to the office.

PHPVibe A.

And boom, the database connection details are wrong. :) Just had to enable error_reporting.

mihaiTopic starter

Tx for help but now how can i fix that problem?

Warning: mySQL database connection is not active in /home/u802676298/public_html/lib/class.ezsql.php on line 121

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'root'@'10.2.1.27' (using password: NO) in /home/u802676298/public_html/lib/class.ezsql.php on line 171

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/u802676298/public_html/lib/class.ezsql.php on line 171

Warning: Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running? in /home/u802676298/public_html/lib/class.ezsql.php on line 89

Warning: mySQL database connection is not active in /home/u802676298/public_html/lib/class.ezsql.php on line 121

Warning: Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running? in /home/u802676298/public_html/lib/class.ezsql.php on line 89

Warning: mySQL database connection is not active in /home/u802676298/public_html/lib/class.ezsql.php on line 121

Warning: Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running? in /home/u802676298/public_html/lib/class.ezsql.php on line 89

Warning: mySQL database connection is not active in /home/u802676298/public_html/lib/class.ezsql.php on line 121

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'root'@'10.2.1.27' (using password: NO) in /home/u802676298/public_html/lib/class.ezsql.php on line 171

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/u802676298/public_html/lib/class.ezsql.php on line 171
  •  

PHPVibe A.

You need to edit vibe_config.php cause the database connection details are wrong.

Make sure you create a database, a database user, add the user to the database and grant FULL permissions over the database to the user (like in any other script setup), and then add the details to the vibe_config.php

run setup after (guess you database is empty).

mihaiTopic starter

#15
<?php //security check
if( !defined( 'in_phpvibe' ) || (in_phpvibe !== true) ) {
die();
}
/* This is your phpVibe config file.
 * Edit this file with your own settings following the comments next to each line
 */

/*
 ** MySQL settings - You can get this info from your web host
 */

/** MySQL database username */
define( 'DB_USER', 'mihai' );

/** MySQL database password */
define( 'DB_PASS', '---------' );

/** The name of the database */
define( 'DB_NAME', 'mihai' );

/** MySQL hostname */
define( 'DB_HOST', 'http//mysql.-----.ro' );

/** MySQL tables prefix */
define( 'DB_PREFIX', 'u802676298_' );

/** MySQL cache timeout */
/** For how many hours should queries be cached? **/
define( 'DB_CACHE', '5' );

/*
 ** Site options
 */
 /** License key (Can be created in the store, under "My Licenses" **/
define( 'phpVibeKey', '----' );

/** Site url (with end slash, ex: http://www.domain.com/ ) **/
define( 'SITE_URL', 'http://----.ph/' );

/** Admin folder, rename it and change it here **/
define( 'ADMINCP', 'moderator' );

/*
 ** Custom settings would go after here.
 */
 ?>





Lista de Baze Date și Utilizatori MySQL
10


Baze de Date MySQL   Utilizator MySQL   Gazdă MySQL   Utilizare Disc, MB
u802676298_mihai   u802676298_mihai   mysql.hostinger.ro   0.02
← Anterior1Următor →



Where is the issue?

  •  

PHPVibe A.

Hmm, imi trec doua lucruri prin cap.

1. Sper ca nu l-ai instalat cu vibe_ si dupa ai schimbat prefixul in config.
2. Userul are toate permisiunile alocate pe baza de date?

mihaiTopic starter

  •  

PHPVibe A.

Trimite-mi pe mail un access la baza te de date (cpanel sau ce ai) ca sa sa pot sa vad si eu ce e acolo.

mihaiTopic starter

Am trimis un mail la adresa la care ai precizat-o mai sus
  •  

PHPVibe A.

Quote from: mihai on
Am trimis un mail la adresa la care ai precizat-o mai sus

O sa pot sa ma uit maine dimineata cel mai devreme (scuze, e weekend, teoretic suntem liberi, dar dau si eu o mana de ajutor la upgrade).

mihaiTopic starter

Iti sunt recunoscator pentru ajutorul pe care mi-l acorzi    Nu trebuie sa te scuzi
  •  

mihaiTopic starter

Vroiam doar sa te anunt ca s-a trimis mailul,in cazul in care nu l-ai primit sa pot sa iti dau altul:)
  •  

PHPVibe A.

Mihai, nu am nimic de la tine. Poti trimite si prin mesaj privat aici.
De multe ori mailurile cu port atasat la link sunt sterse de firewall pe mail.

mihaiTopic starter

Seems that my problem was my database information that i gave to vibe_config
Problema a fost informatia in legatura cu detaliile bazei mele de date pe care am dat-o configului vibe_config
Multumesc Alexander!
Thank you Alexander!
  •  

Similar topics (7)