jetbalsa / pos-tracker-eve

Automatically exported from code.google.com/p/pos-tracker-eve
0 stars 0 forks source link

Upgrade issue #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installing update files
2. Running update.php script

Top of every page is the following:

[code]s"; $result = $dbconn->Execute($sql); if ($dbconn->ErrorNo() != 0) { echo 
$dbconn->ErrorMsg() . (($this->debug) ? '
' . $sql : ''); return false; } //$values = array(); $GLOBALS['modconfig'] = 
array(); for (; !$result->EOF; $result->MoveNext()) { list($modname, $key, 
$value) = $result->fields; $GLOBALS['modconfig'][$modname][$key] = 
((is_array(unserialize($value))) ? unserialize($value) : $value); } 
$result->Close(); return $GLOBALS['modconfig']; } /** * 
POSMGMT::ModuleVarsToTpl() * * @param string $name * @return */ function 
ModuleVarsToTpl($name='') { $vars = array(); /* $exclusion = array('dbtype', 
'dbhost', 'dbuname', 'dbpass', 'dbname', 'system', 'prefix', 'encoded', 
'post_password', 'admin_pass', 'superadmin_pass'); */ $this->ModuleLoadVars(); 
foreach($GLOBALS['modconfig'] as $modname => $var) { $vars[$modname][$name] = 
$var[$name]; } return $vars; } } /** * fixmeplease() * * @param mixed $text * 
@return */ function fixmeplease($text) { $pos = strpos($text, "#"); if ($pos 
=== false) { return $text; } else { $fix = explode("#", $text); return 
$fix[count($fix)-1]; } } ?>[/code]

Original issue reported on code.google.com by cravenlee on 23 Nov 2011 at 2:39

GoogleCodeExporter commented 9 years ago
Was this going to 5.1.7? Have you tried just re-downloading and reapplying the 
update excluding the update DB at the end?

Original comment by frozenic...@gmail.com on 23 Nov 2011 at 4:51

GoogleCodeExporter commented 9 years ago
I actually tried a fresh install then upgrade. Same issues with or without
database update.

Original comment by cravenlee on 23 Nov 2011 at 5:16

GoogleCodeExporter commented 9 years ago
It looks as if class.pos.php isn't correctly copied over to your server. It 
just the last few parts of it that are like being spit out. Perhaps take a 
screenshot for me and also you could do an md5 of the file and make sure it 
matches 19766FF1F38FC99520C2690FB4F530B9

Original comment by frozenic...@gmail.com on 23 Nov 2011 at 5:45

GoogleCodeExporter commented 9 years ago
Hey MD5 matches, it's the correct file, here is a screen (it appears on every 
page including the login page etc) http://oi44.tinypic.com/5bxl5f.jpg

MD5: 19766ff1f38fc99520c2690fb4f530b9

Original comment by cravenlee on 23 Nov 2011 at 7:17

GoogleCodeExporter commented 9 years ago
Also just tried upgrade.

After applying all the changes, getting HTTP Error 500 (Internal Server Error)

Tried 2 different upgrade links, and even copied files from source. 

Original comment by mich...@acm3.com on 25 Nov 2011 at 9:56

GoogleCodeExporter commented 9 years ago
cravenlee: if possible can you get me the source off the login page you see and 
paste it into something like a .txt file and send it to frozenice2525@gmail.com 
Or let me know in email where your POS Tracker's login page is at. 

michael: if possible can you view your server logs to find out what it's 
erroring on? If need be send the information to my email address which is shown 
in response to craven.

I've tried a bunch of things but can't seem to duplicate this but I have a 
feeling I know where it's erroring at. Just need confirmation and a why.

Thanks!

Original comment by frozenic...@gmail.com on 26 Nov 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Re-install fixed this.

Original comment by frozenic...@gmail.com on 4 Jan 2012 at 11:53