Closed nixonthekat closed 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 .
:P You've guys have done some great improvements here, You should accept me on skype bro!
just replace "int" with "var" i'm going to add a proper patch for this in say 40 minutes.
I can do it right now!
Not that I know what @screeny05's "proper patch" entails.. hehe
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
It has to do with URL rewriting. Show me your config.inc.php and .htaccess
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
And you put the app in your web root and you're using Apache? Strange
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.
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
Nixon, I don't like the way you imply that my big updates are less than @screeny05's :smiling_imp:
Either way it should work if you set $enable_mod_rewrite to true.
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?
That's more or less the point of #94
As seen in this screenshot: http://i.snapthat.net/c8sT.png
Line 289