• Welcome to PHPVIBE Forums. Please log in.

problem install phpvibe

Started by tweky94,

Previous topic - Next topic

0 Members and 3 Guests 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!
  •  

Similar topics (7)