HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


View Subscribers

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#20205 (In Topic #4710)
Avatar

Well-settled

newsletter

I have not set any newsletters, yet, but I got the following error when I clicked on "View subscribers"

Code

 Unfortunately a query has failed [SELECT s.email FROM FROM ocp3_newsletter_subscribe s LEFT JOIN ocp3_newsletter n ON n.email=s.email WHERE language='EN' AND code_confirm=0 AND the_level>=0] [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM ocp3_newsletter_subscribe s LEFT JOIN ocp3_newsletter n ON] (ocPortal version: 3.0.1, PHP version: 4.4.3-dev, URL: /adminzone/index.php?page=admin_newsletter&type=subscribers)
Here is the stack trace:

Below is a stack trace revealing the state ocPortal was in when the error occured. If this represents a bug in ocPortal's unmodified software, you may want to check ocportal.com for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, the human situation, version numbers, and any other appropriate information.
We apologise for this problem and hope you will work with us so that we can fix it promptly.
File    '/home/rpgdfw/www/www/sources/global2.php'
Line    '669'
Function    'get_html_trace'
Args    

File    '/home/rpgdfw/www/www/sources/database/mysql.php'
Line    '163'
Function    'clean_exit'
Args    

object

File    '/home/rpgdfw/www/www/sources/database.php'
Line    '622'
Function    '_db_query'
Args    

'SELECT s.email FROM FROM ocp3_newsletter_subscribe s LEFT JOIN ocp3_newsletter n ON n.email=s.email WHERE language=\'EN\' AND code_confirm=0 AND the_level>=0'

array

NULL

NULL

false

false

File    '/home/rpgdfw/www/www/sources/database.php'
Line    '581'
Function    '_query'
Class    'database_driver'
Type    '->'
Args    

'SELECT s.email FROM FROM ocp3_newsletter_subscribe s LEFT JOIN ocp3_newsletter n ON n.email=s.email WHERE language=\'EN\' AND code_confirm=0 AND the_level>=0'

NULL

NULL

false

File    '/home/rpgdfw/www/www/adminzone/pages/modules/admin_newsletter.php'
Line    '177'
Function    'query'
Class    'database_driver'
Type    '->'
Args    

'SELECT s.email FROM FROM ocp3_newsletter_subscribe s LEFT JOIN ocp3_newsletter n ON n.email=s.email WHERE language=\'EN\' AND code_confirm=0 AND the_level>=0'

File    '/home/rpgdfw/www/www/adminzone/pages/modules/admin_newsletter.php'
Line    '49'
Function    'view_subscribers'
Class    'module_admin_newsletter'
Type    '->'
Args    

File    '/home/rpgdfw/www/www/sources/aed_module.php'
Line    '148'
Function    'run_start'
Class    'module_admin_newsletter'
Type    '->'
Args    

'subscribers'

File    '/home/rpgdfw/www/www/sources/zones.php'
Line    '294'
Function    'run'
Class    'module_admin_newsletter'
Type    '->'
Args    

File    '/home/rpgdfw/www/www/sources/site.php'
Line    '624'
Function    'load_module_page'
Args    

'adminzone/pages/modules/admin_newsletter.php'

'admin_newsletter'

File    '/home/rpgdfw/www/www/sources/site.php'
Line    '494'
Function    'request_page'
Args    

'admin_newsletter'

true

File    '/home/rpgdfw/www/www/adminzone/index.php'
Line    '42'
Function    'do_site'
Args    
Back to the top
 
Posted
Rating:
#20209
Avatar



Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: