TeamSynergy / SynergyTube-deprec

deprecated
st.localcraft.de
MIT License
5 stars 1 forks source link

get_count = 0 #139

Closed nixonthekat closed 11 years ago

nixonthekat commented 11 years ago

As seen in this screenshot: http://i.snapthat.net/c8sT.png

Line 289

screeny05 commented 11 years ago

arharhar, damn you c#! :DD Am 07.05.2013 17:01 schrieb "nixonthekat" notifications@github.com:

As seen in this screenshot: http://i.snapthat.net/c8sT.png

Line 289

— Reply to this email directly or view it on GitHubhttps://github.com/TeamSynergy/SynergyTube/issues/139 .

nixonthekat commented 11 years ago

:P You've guys have done some great improvements here, You should accept me on skype bro!

screeny05 commented 11 years ago

just replace "int" with "var" i'm going to add a proper patch for this in say 40 minutes.

klarstrup commented 11 years ago

I can do it right now!

klarstrup commented 11 years ago

Not that I know what @screeny05's "proper patch" entails.. hehe

nixonthekat commented 11 years ago

Hmm I don't know if you guys are getting the same, but I setup my database info on my local server and such and for my www folder, but it cannot find /c/ something tells me it has to do with channel_init.php

klarstrup commented 11 years ago

It has to do with URL rewriting. Show me your config.inc.php and .htaccess

nixonthekat commented 11 years ago

inc <?php // Database-Connection variables $db_host = "localhost"; $db_user = "root"; $db_password = "root"; $db_table = "synergy";

// Use mod_rewrite for url rewriting?
// eg: host.com/c/channel-name instead of host.com/channe.php?c=channel-name when enabled.
$enable_mod_rewrite = true;

// Don't even think about touching this Values!

$sgtube_host = '//'.$_SERVER['SERVER_NAME']; $sgtube_root = $sgtube_host.substr($_SERVER['SCRIPT_NAME'],0,strrpos($_SERVER['SCRIPT_NAME'],'/')); ?>

ht:

RewriteEngine On RewriteRule ^c/(.)$ channel.php?c=$1 RewriteRule ^validate/(.)$ /require/offline_backend.php?m=validate&p=$1

klarstrup commented 11 years ago

And you put the app in your web root and you're using Apache? Strange

nixonthekat commented 11 years ago

Yep, I'm not sure what's causing it. I had it working fine before just droped my tables and replaced with last commits and same thing. I'll wait for screeny's next big update.

screeny05 commented 11 years ago

Screeny's next big update? well.. it's a team project and i don't think that anyone has a clue what causes this error.. care about dropping us a database-dump of yours? also a proper patch not only includes the fix itself but also a note on how dumb the original author was! :D

klarstrup commented 11 years ago

Nixon, I don't like the way you imply that my big updates are less than @screeny05's :smiling_imp:

klarstrup commented 11 years ago

Either way it should work if you set $enable_mod_rewrite to true.

nixonthekat commented 11 years ago

Got some competition here hehe, I noticed for the ip you have to it set in different places most is setup as localhost and the latest config ip was set as a local ip, maybe setup a define.php file and make it readable as the hostname?

klarstrup commented 11 years ago

That's more or less the point of #94