Closed (fixed)
Project:
Counter
Version:
6.x-2.16
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
9 Apr 2012 at 09:06 UTC
Updated:
26 Nov 2012 at 04:20 UTC
Hello, I want to port counter module to Drupal 7. I have created a sandbox project here. The name counter was already taken in sandbox project, so I had to rename it to visits-counter:) I am porting this module. Please review the code and tell me if there are any problem.
Comments
Comment #1
subhojit777I have copied counter.report.inc file from an earlier version of this module, but it still giving error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupaldemos.Array' doesn't exist: SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {Array} q) subquery; Array ( ) in PagerDefault->execute() (line 74 of /var/www/drupaldemos/includes/pager.inc).
I had also changed counter.report.inc file as per Drupal 7. Please review my updated code. The module is running fine in Drupal 7, except that Counter Report is not working due to that counter.report.inc file.
I am trying to find the bug there. Any updates from me will be notified to you :)
Comment #2
subhojit777Comment #3
drupalnesia commentedI just upload Counter 7.x-1.0-alpha1, please help to test and report any bugs.
Comment #4
subhojit777Counter 7.x-1.0-alpha1 version is working fine.
But there are some missing functionalities found:
I will be keeping you up-to-date with new bugs.
Comment #5
drupalnesia commentedI have a problem with TortoiseGit and also Git for Windows, they can not checkout from certain branch, but using Linux fine. I may use Linux Git if this issue can not fix this weekly.
Above bug causing some files not update into Drupal repo, such as Reporting which must be deleted, because I plan to use Drupal Content-type so we can use Views to generate custom reports.
Comment #6
drupalnesia commentedTortoiseGit (especially Git for Windows component) won't checkout for certain branch, but I have found a workaround. We must checkout entire branch!
I will works on D7 now, thanks.
NB: please open separated issue for problem/error because D7 port already done.