problem install phpvibe

Started by tweky94,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tweky94Topic starter

hi, i want install this script but i have errors....

Fatal error: Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php:264 Stack trace: #0 C:\xampp\htdocs\app\classes\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...') #1 C:\xampp\htdocs\setup\index.php(357): ezSQL_mysqli->query('CREATE TABLE `v...') #2 {main} thrown in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php on line 264
  •  

Marius P.

It says you already have the tables. It may be my bad since I've removed the table check, I'm going to upload the new setup (this one is for v6) soon (probably tomorrow).

Maybe use this as setup/index.php https://github.com/PHPVibe/phpvibe-lite/blob/master/The%20CMS/setup/index.php
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!
  •  

tweky94Topic starter

no....
sorry for my english..
i remove tables , all tables, but not working ,
I give refreshment but it still appears, it creates itself in databases,
I inserted new index.php but now.

Warning: require_once(C:/xampp/htdocs/lib/ez_sql_core.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\setup\index.php on line 21

Fatal error: Uncaught Error: Failed opening required 'C:/xampp/htdocs/lib/ez_sql_core.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\setup\index.php:21 Stack trace: #0 {main} thrown in C:\xampp\htdocs\setup\index.php on line 21
  •  

Marius P.

Oh, hell :'( !
It uses INC variable instead of CNC.  :(

Let me finish the new Vibe setup this weekend, so nobody else has headaches. Working as we speak.
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!
  •  

Marius P.

Ok, I've done a quick split of the setup in 3 steps, maybe this will help you.
I've also added a debug option.

Redownload and upload the new /setup
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!
  •  

tweky94Topic starter

ok , but now say my liciense is wrong , but my liciense is ok  ,
I manually added the license in vibe config , but not working... :)
  •  

Marius P.

You use a domain, right? Use the domain key for v11, not v6.
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!
  •  
    The following users thanked this post: tweky94

tweky94Topic starter

Quote from: Marius P. on You use a domain, right? Use the domain key for v11, not v6.
use for v11....
  •  

Marius P.

I've updated /setup. Added support for 'localhost' and '127.0. 0.1'
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!
  •  

Marius P.

Quote from: tweky94 on use for v11....

Do you use a domain or localhost?
I've added an update for localhost.

Replace
/setup/
/app/functions/
for it to run on xamp/wamp.
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!
  •  

tweky94Topic starter

#10
same... don't work..
www.vevios.ro
i used xampp on my pc , but i have domanin

edit , with http://localhost is working liciense is ok , but with vevios.ro not
  •  

Marius P.

Quote from: tweky94 on same... don't work..
www.vevios.ro
i used xampp on my pc , but i have domanin

edit , with http://localhost is working liciense is ok , but with vevios.ro not

Do me a favor, type the key like this vibe-r16b-iaff-eivo and let me know if it works


/** License key 
Create it in the store, under "My Licenses" **/
define( 'phpVibeKey', 'vibe-r16b-iaff-eivo' );
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!
  •  

Marius P.

No worries the keys are not secret; they are bound to that domain only.  ;)
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!
  •  

tweky94Topic starter

is working with the
Quote from: Marius P. on Do me a favor, type the key like this vibe-r16b-iaff-eivo and let me know if it works


/** License key 
Create it in the store, under "My Licenses" **/
define( 'phpVibeKey', 'vibe-r16b-iaff-eivo' );
yes is working  liciense now. but start install step 2 
continue to the next step .. error

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\xampp\htdocs\app\classes\ez_sql_core.php:175 Stack trace: #0 C:\xampp\htdocs\setup\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0) #1 {main} thrown in C:\xampp\htdocs\app\classes\ez_sql_core.php on line 175
  •  

Marius P.

What database are you using? That tables check is been there for many years  :o

I guess you could replace it

$test_db = $db->get_col("SHOW TABLES",0);

with

$test_db = false;

But I don't really get why it fails on your server.... :-\
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!
  •  

Marius P.

Ok, i've patched the EzSql class, added a check there.
Change is in store. The file is \app\classes\ez_sql_core.php


/**********************************************************************
		*  Function to get 1 column from the cached result set based in X index
		*  see docs for usage and info
		*/
		function get_col($query=null,$x=0)
		{
			$new_array = array();
			// If there is a query then perform it if not then use cached results..
			if ( $query )
			{
				$this->query($query);
			}
			// Extract the column values
			if (is_countable($this->last_result) && count($this->last_result) > 0) {

			$j = count($this->last_result);
			for ( $i=0; $i < $j; $i++ )
			{
				$new_array[$i] = $this->get_var(null,$x,$i);
			}
		} else {
		$new_array = false;
		}
			return $new_array;
		}

Hope this will avoid further issues.
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!
  •  

Marius P.

So, when you've run the tables did you get an error when installing the users table?
Cause I'm looking at your site and can't figure our the issue, you seem to be missing the users table  ???

Did you disable myql safe mode before?
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!
  •  

tweky94Topic starter

is problem with my server or ?

All good! No pre-existing database tables found

Fatal error: Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php:264 Stack trace: #0 C:\xampp\htdocs\app\classes\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...') #1 C:\xampp\htdocs\setup\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...') #2 {main} thrown in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php on line 264

marius i want to ask you , you ar romanian? sorry for ask :D
  •  

Marius P.

Da, sunt. Poti scrie si in romana daca vrei.
Ai ceva logging de errori pe server? As fi tare curios sa vad logul ala.
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!
  •  

tweky94Topic starter

doamne ce m-am chinuit cu google translate... :)), ok treaba  este ca dau sa instalez script-ul dar cand ajung la install tables imi apare ca deja exista in  baza de date acele tabele , ok ma duc si le sterg din  baza de date si incerc iar si tot asa apare ca exista  si imi da acele erori , o fi de la mine de la xampp ceva gresit sau ?...
  •  

tweky94Topic starter

[Sun Dec 11 11:49:16.152498 2022] [php:error] [pid 672:tid 1820] [client ::1:50093] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://localhost/setup/index-db.php
[Sun Dec 11 11:50:24.012638 2022] [php:error] [pid 672:tid 1824] [client ::1:50143] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://localhost/setup/index.php
[Sun Dec 11 11:52:51.282154 2022] [php:error] [pid 672:tid 1824] [client 192.168.0.1:50158] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://vevios.ro/setup/index.php
[Sun Dec 11 11:54:04.387660 2022] [php:error] [pid 672:tid 1820] [client 192.168.0.1:50165] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://vevios.ro/setup/index.php
[Sun Dec 11 11:55:31.195771 2022] [php:error] [pid 672:tid 1820] [client 192.168.0.1:50178] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://vevios.ro/setup/index.php
[Sun Dec 11 11:56:33.390434 2022] [php:error] [pid 672:tid 1824] [client 192.168.0.1:50189] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://vevios.ro/setup/index.php
[Sun Dec 11 11:58:47.660683 2022] [php:error] [pid 672:tid 1820] [client 192.168.0.1:50201] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://vevios.ro/setup/index.php
[Sun Dec 11 12:03:35.811953 2022] [php:error] [pid 672:tid 1852] [client 192.168.0.1:50223] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php:175\nStack trace:\n#0 C:\\xampp\\htdocs\\setup\\index-db.php(97): ezSQLcore->get_col('SHOW TABLES', 0)\n#1 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php on line 175, referer: http://vevios.ro/setup/index.php
[Sun Dec 11 12:04:59.914779 2022] [php:error] [pid 672:tid 1824] [client 192.168.0.1:50235] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:05:41.662229 2022] [php:error] [pid 672:tid 1860] [client 192.168.0.1:50267] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:06:09.207443 2022] [php:error] [pid 672:tid 1860] [client 86.120.159.66:52937] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'twekytube.vibe_users' doesn't exist in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('SELECT count(*)...')\n#1 C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php(135): ezSQL_mysqli->query('SELECT count(*)...')\n#2 C:\\xampp\\htdocs\\setup\\index-admin.php(95): ezSQLcore->get_row('SELECT count(*)...')\n#3 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:06:14.591756 2022] [php:error] [pid 672:tid 1860] [client 86.120.159.66:52937] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:06:27.822498 2022] [php:error] [pid 672:tid 1828] [client 86.120.159.66:52941] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'twekytube.vibe_users' doesn't exist in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('SELECT count(*)...')\n#1 C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php(135): ezSQL_mysqli->query('SELECT count(*)...')\n#2 C:\\xampp\\htdocs\\setup\\index-admin.php(95): ezSQLcore->get_row('SELECT count(*)...')\n#3 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:06:36.368633 2022] [php:error] [pid 672:tid 1860] [client 86.120.159.66:52947] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:06.710866 2022] [php:error] [pid 672:tid 1852] [client 192.168.0.1:50280] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:07.811779 2022] [php:error] [pid 672:tid 1852] [client 192.168.0.1:50280] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:18.729494 2022] [php:error] [pid 672:tid 1828] [client 86.120.159.66:52953] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:19.275591 2022] [php:error] [pid 672:tid 1860] [client 192.168.0.1:50281] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:21.103958 2022] [php:error] [pid 672:tid 1860] [client 192.168.0.1:50281] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:21.323740 2022] [php:error] [pid 672:tid 1860] [client 192.168.0.1:50281] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:21.527430 2022] [php:error] [pid 672:tid 1860] [client 192.168.0.1:50281] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:29.807613 2022] [php:error] [pid 672:tid 1860] [client 192.168.0.1:50281] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:07:55.445748 2022] [php:error] [pid 672:tid 1852] [client 86.120.159.66:53006] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:08:04.056440 2022] [php:error] [pid 672:tid 1860] [client 86.120.159.66:53015] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'twekytube.vibe_users' doesn't exist in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('SELECT count(*)...')\n#1 C:\\xampp\\htdocs\\app\\classes\\ez_sql_core.php(135): ezSQL_mysqli->query('SELECT count(*)...')\n#2 C:\\xampp\\htdocs\\setup\\index-admin.php(95): ezSQLcore->get_row('SELECT count(*)...')\n#3 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://www.vevios.ro/setup/index-db.php
[Sun Dec 11 12:08:37.558057 2022] [php:error] [pid 672:tid 1828] [client 192.168.0.1:50309] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:10:34.473446 2022] [php:error] [pid 672:tid 1824] [client 192.168.0.1:50348] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'vibe_activity' already exists in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php
[Sun Dec 11 12:15:10.813419 2022] [php:error] [pid 672:tid 1828] [client 192.168.0.1:50398] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php

te ajuta cu ceva?
  •  

Marius P.

Da, si ma asteptam sa fie ceva de genul  ::)

Quote[Sun Dec 11 12:04:59.914779 2022] [php:error] [pid 672:tid 1824] [client 192.168.0.1:50235] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid default value for 'at_time' in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php:264\nStack trace:\n#0 C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...')\n#1 C:\\xampp\\htdocs\\setup\\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...')\n#2 {main}\n  thrown in C:\\xampp\\htdocs\\app\\classes\\ez_sql_mysqli.php on line 264, referer: http://vevios.ro/setup/index-db.php

Nu s-au instalat toate tabelele.

Ok, am rezolvat-o, sper.

Da-i din nou download, https://phpvibe.com/phpvibe/p1/
Ia /setup/db.sql din pachet si suprascrie-l pe server.
Mergi la time in xampp la phpmyadmin, sterge toate tabelele din baza de date.
Da-i /setup din nou, instaleaza tabelele.
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!
  •  

tweky94Topic starter

All good! No pre-existing database tables found

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' `cron_value` longtext ) ENGINE=MyISAM DEFAULT CHARSET=utf8' at line 7 in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php:264 Stack trace: #0 C:\xampp\htdocs\app\classes\ez_sql_mysqli.php(264): mysqli->query('CREATE TABLE `v...') #1 C:\xampp\htdocs\setup\index-db.php(122): ezSQL_mysqli->query('CREATE TABLE `v...') #2 {main} thrown in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php on line 264
acum..
  •  

Marius P.

#23
Fk  ::)

Deschide /setup/db.sql
si gaseste
Quote`cron_lastrun` timestamp NULL DEFAULT NULL,,
sterge dubla virgula. Ar trebui sa fie

Quote`cron_lastrun` timestamp NULL DEFAULT NULL,

Sterge din nou tabelele.

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!
  •  

Marius P.

Scuze, tastatura noua, nu stiu cum naiba am reusit ",,"-ul  :-X
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!
  •  

tweky94Topic starter

Fatal error: Uncaught Error: Call to a member function fetch_object() on bool in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php:304 Stack trace: #0 C:\xampp\htdocs\setup\index-db.php(143): ezSQL_mysqli->query('--\r\nINSERT INTO...') #1 {main} thrown in C:\xampp\htdocs\app\classes\ez_sql_mysqli.php on line 304
  •  

tweky94Topic starter

acum vad ca sau adaugat in  baza de date 33 tabele pana acum erau 5.
  •  

Marius P.

Ok,deci trebuie sa imi spui ce baza de date ai la xampp, ca eu rulai de 5 ori setupul asta, pe wamp, pe cpanel...no issues  ???
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!
  •  

tweky94Topic starter

cred ca xampp foloseste mariadb? , pur si simplu l-am luat de la ei de pe site , ca sa fi mai sigur unde pot afla asta ?

XAMPP Apache + MariaDB + PHP + Perl
  •  

Marius P.

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!
  •  

Marius P.

Pai si eu am tot MariaDB pe ambele teste...
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!
  •  

tweky94Topic starter

am sa instalez wamp si am sa vad  :) , revin multumesc frumos.
  •  

Marius P.

Quote from: tweky94 on am sa instalez wamp si am sa vad  :) , revin multumesc frumos.

Ok, se intampla ceva ciudat pe windows.
cand intrii la pasul 2 si instalezi tabelele da eroare, daca ii dai refresh merge si apar warnings can exista deja tabelele, dar poti trece la pasul 3. Inca incerc sa imi dau seama de ce....dar doar pe Windows se intampla.
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!
  •  

Marius P.

Pff...pe asta nu o mai vazusem.
In demo.sql, inainte de

QuoteINSERT INTO `#dbprefix#channels`

este o ramasita dintr-un comentariu...

Quote--

pe Windows aia cauzeaza eroarea  ::)  deci... ::)
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!
  •  

Marius P.

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!
  •  

tweky94Topic starter

ok , am crezut pana la urma ca este de la mine de la xampp , am zis hai sa iau wampserver si sa ii dau bice daca ai spus ca nu are erori pe wampserver, dar totusi , am sters si wampserver si o sa insist sa rezolvam si pe xampp pe windows sa mearga , revin cu  reply daca totul este ok
  •  

tweky94Topic starter

am descarcat din nou phpvibe , am instalat fara nici o eroare brici , totul este ok acum .
mai am o intrebare , se cam incarca pagina intr-un minut   adica foarte greu orice pagina , este de la mine sau are altceva?
  •  

tweky94Topic starter

cam asa arata prima pagina , iar de intrat in admincp chiar nu merge imi pica pagina :)
You cannot view this attachment.
  •  

Marius P.

#38
Ia da-i click dreapta -> Inspect element si vezi ce erori ai in consola.
Eu banuiesc ca url-ul e gresit sau nu are / la final in vibe_config.php
Poti intra si in Network sa vezi ce incarca greu (tot acolo)
You cannot view this attachment.
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!
  •  

tweky94Topic starter

Când întru pe pagina prima data pana sa apară ca în poza care am pus-o mai sus îmi apare pagina alba, și sus de tot o singura "/" după care apare ca în poza , am sa ma uit diseară când ajung acasă de la munca.
  •  

tweky94Topic starter

este in vibe config acea /
am dat in consola sa vad ce incarca greu 
You cannot view this attachment.
  •  

Marius P.

Wow, de ce îți dă timeout pe css/js generator. Ai ceva erori în server? Pe log e ceva? 
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!
  •  

tweky94Topic starter

[Wed Dec 14 10:21:20.695596 2022] [mpm_winnt:crit] [pid 10996:tid 412] AH02538: Child: Parent process exited abruptly. Child process is ending
[Wed Dec 14 10:21:23.011386 2022] [ssl:warn] [pid 11640:tid 424] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 14 10:21:23.042649 2022] [core:warn] [pid 11640:tid 424] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Dec 14 10:21:23.042649 2022] [ssl:warn] [pid 11640:tid 424] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 14 10:21:23.089526 2022] [mpm_winnt:notice] [pid 11640:tid 424] AH00455: Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12 configured -- resuming normal operations
[Wed Dec 14 10:21:23.089526 2022] [mpm_winnt:notice] [pid 11640:tid 424] AH00456: Apache Lounge VS16 Server built: Jun 22 2022 09:58:15
[Wed Dec 14 10:21:23.089526 2022] [core:notice] [pid 11640:tid 424] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Dec 14 10:21:23.089526 2022] [mpm_winnt:notice] [pid 11640:tid 424] AH00418: Parent: Created child process 9268
[Wed Dec 14 10:21:23.573847 2022] [ssl:warn] [pid 9268:tid 420] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 14 10:21:23.605117 2022] [ssl:warn] [pid 9268:tid 420] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 14 10:21:23.646965 2022] [mpm_winnt:notice] [pid 9268:tid 420] AH00354: Child: Starting 150 worker threads.
[Wed Dec 14 10:21:25.448061 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.448061 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  Implicit conversion from float 714.9833333333333 to int loses precision in C:\\xampp\\htdocs\\app\\functions\\functions.global.php on line 507
[Wed Dec 14 10:21:25.449061 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.449061 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  Implicit conversion from float 226.53333333333333 to int loses precision in C:\\xampp\\htdocs\\app\\functions\\functions.global.php on line 507
[Wed Dec 14 10:21:25.450063 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.450063 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  Implicit conversion from float 218.38333333333333 to int loses precision in C:\\xampp\\htdocs\\app\\functions\\functions.global.php on line 507
[Wed Dec 14 10:21:25.451049 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.452048 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.452048 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  Implicit conversion from float 714.9166666666666 to int loses precision in C:\\xampp\\htdocs\\app\\functions\\functions.global.php on line 507
[Wed Dec 14 10:21:25.453058 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.453058 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228
[Wed Dec 14 10:21:25.453058 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  Implicit conversion from float 215.98333333333332 to int loses precision in C:\\xampp\\htdocs\\app\\functions\\functions.global.php on line 507
[Wed Dec 14 10:21:25.454057 2022] [php:notice] [pid 9268:tid 1876] [client 192.168.0.1:49803] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\\xampp\\htdocs\\app\\functions\\functions.user.php on line 228

de ce apar la fiecare cate 2 \\ ? este normal ?
  •  

Marius P.

Nope, nu e normal. La mine in wamp nu era asa. O sa ma mai joc putin cu el pe wamp, sa vad ce si cum.
Ce vad pe acolo sunt notices, care nu ti-ar afecta performanta in mod normal.
Ia vezi, daca pui ceva pe server si ii dai download, cum merge? Sa nu fie o pb de dns.

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!
  •  

tweky94Topic starter

salut din nou marius , am cumparat un server 5u tower  pentru phpvibe , am instalat ubuntu pe el ultima versiune , pachetul de apache  tot cu mysql phpmyadmin , am luat phpvibe  , dar din nou aceea problema cu incarcatu pagini  , s-a instalat perfect totul , dar cand dau sa acceses vre-o pagina sta 10 minute sa se incarce si pica....
care ar fi problema ??? ....
  •  

tweky94Topic starter

am reusit problema de mai sus , era din config.php  era trecut https://  am sters acel "s"

dar acum mai am o problema , orice as incerca sa fac adica incerc sa ma loghez sa ma inregistrez , in admincp orice as face imi spune

Not Found

The requested URL was not found on this server.
Apache/2.4.57 (Ubuntu) Server at vevios.ro Port 80
  •  

Similar topics (7)