Related Topics


[Video CMS v4]Upgrade from PHPVibe 3.3/3.4 to PRO 3.5  (Read 8792 times) Print

1 2  All B


@Mario  March 06, 2014, 11:39:04 PM

PHPVibe 3.5 is a final upgrade for this year, next upgrade is coming in 2015, so feel free to customize it.


First of all BACKUP!



In order to upgrade follow this steps:


Step 1: Keep some folders and files


Remove everything except:


- /cache
- /media
- /rawmedia (3.4 only, create it on 3.3 and make it writeable)
- /uploads
- vibe_config.php

Step 2: Configuration copy&pasting


Open vibe_config.php from PHPVibe 3.5 folder and copy paste the values from your old vibe_config.php
There are new things there, and the config is not as long as the one in 3.4 or 3.3.


This are the values you need (sample of new vibe_config.php)



Code

<?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', 'database user' );


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


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


/** MySQL hostname */
define( 'DB_HOST', 'localhost' );


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


/** 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', 'key goes here' );


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


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


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


Make sure your config looks like this and it's complete.



Step 3: Upload all files (including the newly edited vibe_config.php), you can overwrite existing ones.


Step 4: Database upgrade

Inside the PHPVibe archive there are 2 files, up3to5.php and up4to5.php


Copy both to the your intal's root and execute the one for your version in the browser:


- up3to5.php converts the PHPVibe 3.3 into a 3.5 database
- up4to5.php converts the PHPVibe 3.4 into a 3.5 database


If you have rushed to download 3.5 and does not have this file, download and use an fresh archive.




Step 5: Clear cache from Tools in admin, clear browser cache.

Step 6: Give feedback :D  and report any issues.


Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


w4q45  March 07, 2014, 11:39:17 AM

i get this error after upgrading from 3.3 to 3.5 when ever i try to go to moderator

Site error: the file /home5/pashtobu/public_html/moderator/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
my domain is pashtobuzz.com

i have enable to ioncube and im using justhost shared hosting which is compatible of this script , it seems i have done some thing wrng during the upgrade. please help

Logged


Alexander  March 07, 2014, 01:14:09 PM

Use the moderator/index.php from 3.4/3.3 , the new one it's encripted with ioncube 8.0

Logged

oryhutch  March 09, 2014, 07:05:13 AM

I am having trouble with the upgrade, I have an adult video website and used the xclub plugin, but since upgrading to phpvibe 3.5 I no longer have the redtube importer. Any suggestions how to fix this or if xclub even works with 3.5?

Logged


carlitos90cu  March 09, 2014, 11:00:33 AM

works with the new version. I'm using it. I recommend that you re-download the plugin and install it.

Logged


Alexander  March 09, 2014, 04:16:46 PM

You need to re add it to hooks.php, that's the only edit removed by the upgrade.

Logged

oryhutch  March 10, 2014, 10:44:50 PM

We reinstalled the xclub plugin but it is still not working

Logged



demongur18  March 11, 2014, 07:50:24 PM

 Its cool Mario tried to send you message but there is no option to share the blog on social websites. No option to like/dislike and view counts please add that

Logged


@Mario  March 11, 2014, 08:07:17 PM

Did Alex fix it?

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


@Mario  March 11, 2014, 08:09:01 PM

Its cool Mario tried to send you message but there is no option to share the blog on social websites.

I'll add that.

  No option to like/dislike and view counts please add that

On posts? I don't really see the need, this is a video website, not a blogging platform.
You can use wordpress if you want an enhanced blog and put it in a folder.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


ajitsingh  March 12, 2014, 11:55:19 PM

Upgrade not working for me, upgrading from 3.3 to 3.5

i have followed step by step but in "Step 4: Database upgrade" getting error after execute up3to5.php file in browser.  Plz Check image: newbielink:http://s7.postimg.org/fs9glu9bv/error.jpg [nonactive]

for a while i have restore my old setup, waiting for solution..

Logged


Alexander  March 12, 2014, 11:59:16 PM

The errors are self explanatory, you need to upload up4to5.php as well, the duplicate columns field errors, maybe you tried an upgrade to 3.4 before?

Logged

ajitsingh  March 13, 2014, 04:42:24 AM

The errors are self explanatory, you need to upload up4to5.php as well, the duplicate columns field errors, maybe you tried an upgrade to 3.4 before?

Opps, got it fixed... upgrade done.

now issue is Video Thumbnail, i can see same issue with ur demo site newbielink:http://www.videoinedit.com [nonactive]
newbielink:http://s30.postimg.org/vc45e5wbl/video_Thumbnail.jpg [nonactive]

also what was last phpvibe version video thumbnail size, if any one remember.. current default are to big.

& Facebook comment panel is small in size.. css issue?




Logged


Alexander  March 13, 2014, 04:59:54 PM

That's how the actually Youtube thumbnail looks like. Unfortunately!
Keep an eye out for patches http://www.phprevolution.com/forum/code/phpvibe-3-5-small-patches/msg15237/#msg15237

Logged

Fleswodka  March 15, 2014, 03:21:06 PM

hello, thank for the quick 3.5 !!

i upgrade newbielink:http://dadersgezocht.nl [nonactive] but no homeblocks/video channel/categorie appears on index..

rest op upgrade no problems newbielink:http://dadersgezocht.nl/videos/browse/ [nonactive]

when making homeblocks it wil be not saved on right side /moderator

Logged


Alexander  March 15, 2014, 03:57:32 PM

Is the table {vibe_}homepage updated?


Check if it looks like in attachment.

Logged

Fleswodka  March 15, 2014, 04:59:17 PM

number 8 is missing..

Logged


Alexander  March 15, 2014, 05:01:53 PM

Than that is the problem.

Run this via the sql tab

Code
ALTER TABLE  `vibe_homepage` ADD  `mtype` INT NOT NULL DEFAULT  '1';

Logged

Fleswodka  March 15, 2014, 05:14:22 PM

add, but nothing saved or shows ..

Logged


Alexander  March 15, 2014, 05:36:25 PM

No need, just post an copy of the error log please, so I can figure out what's going on.

Logged

Fleswodka  March 15, 2014, 06:10:05 PM

first 100 lines

Logged


Alexander  March 15, 2014, 06:25:21 PM

You have a tone of errors because you didn't not edit the new config file, but left the old one.
Also some sql upgrades did not went trough (possibly for same reason).

Logged

Fleswodka  March 15, 2014, 08:58:37 PM

strange because i switch before setup..

but its ok, just instal fresh and imported some files sql

thanks alot for all respons!! realy heavy how much posts!

can u give me url of other projects/scripts u have?

u did realy good job last 4 months !!! _0_

Logged


Alexander  March 15, 2014, 10:24:43 PM


can u give me url of other projects/scripts u have?


We don't have any other web product yet, we plan two more CMS platforms, but for now, they are around 50-60% done.

Logged