News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

My announcements or newslatters are not delivered

Started by ekfaysal, August 14, 2008, 05:07:03 AM

Previous topic - Next topic

ekfaysal

Hi
i m facing a strange problm
my announcements or newslatters are not delivered.
i tried expanding newslatter option then i  tried sending saperate newslatter to my own user of email but that is not deleivered too.
Anybody help me please

Nathaniel

SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

ekfaysal

in forum maintanance it shows no error found when i click find and repair errors

Rumbaar

Are you able to receive any mail at all from your forum?  Or is it just announcements/newsletters?

ie notifications, PM notifications or password reminder mails, etc.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

yes right
i cannot send any notification etc too
it shows no error but emails not recievd

Rumbaar

What are the settings you are using for mail? phpmail() or SMTP.

Try alternate ways and see from the current settings you have.  Did it ever work?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal


wmcintosh

#7
Admin > Server Settings > click Feature Configuration tab.

Oops, wasn't thinking when posting this, thats how its on 1.1.5, no idea on 2.x

greyknight17

Under Maintenance, go to Mail > Mail Settings tab to check your email settings.

Was this setting ever working at all in the past?

ekfaysal

it is php default
and i beleive it was working for me in past
not now

Rumbaar

Have you had words with your host then?  They might have disabled or turned of phpmail without telling you, I know of hosts that operate like this.

Alternately you can try SMTP and see if that works for you, just make sure you put in 100% correct details.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal


Rumbaar

SMTP will/should always work if correct.

What mail server are you trying to use?  What is the errors you are getting in your log when it's trying to send mail?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

i cant see any error generated by my user in error log
there are errors but generated by Otherz

Rumbaar

Well you should see an error relating to not being able to send mail or problem sending mail, with maybe an error code other other details.  The forum is trying to send the mail, so it might not be linked to a user.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

Quotehttp://dreamsmania.com/index.php?/topic,6273.10.html
8: Undefined offset: 302
File: /home/dreamsma/public_html/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 865
Quote
http://dreamsmania.com/index.php?/topic,6273.0/topicseen.html
8: Undefined offset: 302
File: /home/dreamsma/public_html/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 865

Quote
http://dreamsmania.com/index.php?/topic,4043.0/topicseen.html
8: Undefined offset: 302
File: /home/dreamsma/public_html/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 865
Quote
http://dreamsmania.com/index.php?/topic,6271.new.html
8: Undefined offset: 302
File: /home/dreamsma/public_html/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 865


these are the errors but i dont understand all these

Rumbaar

Well there isn't a line 865 normally in that file, and I'm not sure what might be calling it to speculate.  So will try to find the true source.

This is an eval error too, the error might not even be in that file.

You'll have to disable template eval temporarily to get the real file and error line.

To do this, run this query in PHPmyAdmin (What is phpMyAdmin?)
INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);
Once that's done, get the error again and copy it (the file and line may have changed), then run this query to re-enable it:
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

i have executed the query
then tried

now this is error

Quote˙·٠•● ۰FaYsi (●̪•)    Today at 09:40:49 AM
119.30.77.198      b211d9c0250f9c24c1bdf8ef246a3694
    Type of error: Undefined
http://dreamsmania.com/index.php?/topic,6139.0.html
8: Undefined offset: 302
File: /home/dreamsma/public_html/Themes/default/Display.template.php
Line: 865
   
˙·٠•● ۰FaYsi (●̪•)    Today at 09:40:29 AM
119.30.77.198      b211d9c0250f9c24c1bdf8ef246a3694
    Type of error: Undefined

Rumbaar

Yeah that file doesn't normally have that many lines either.  Please attach yours.  Also list your installed mods, and even mods you've installed but removed.  I assume this might be due to code left over from a mod or incorrectly installed mod.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

QuoteMod Name   Version   
1.   Ad Managment    2.3.3     [ Uninstall ] [ List Files ] [ Delete ]
2.   Wysiwyg Quick Reply    1.0     [ Uninstall ] [ List Files ] [ Delete ]
3.   Social Bookmarks for SMF 2    1.1     [ Uninstall ] [ List Files ] [ Delete ]
4.   AvatarOnBoard    2.0     [ Uninstall ] [ List Files ] [ Delete ]
5.   Related Topics    1.3 Beta 1     [ Uninstall ] [ List Files ] [ Delete ]
6.   nneonneo's AJAX ShoutBox    1.21   [ Apply Mod ] [ List Files ] [ Delete ]
7.   Recent Topics On Board Index    1     [ Uninstall ] [ List Files ] [ Delete ]
8.   AJAX Instant Quick Reply    1.0.1   [ Apply Mod ] [ List Files ] [ Delete ]
9.   Users Online Today    1.5.1     [ List Files ] [ Delete ]
10.   Auto Embed Video Clips    2.2     [ Uninstall ] [ List Files ] [ Delete ]
11.   SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0     [ Uninstall ] [ List Files ] [ Delete ]
12.   Pretty URLs - Base    0.8.4   [ Apply Mod ] [ List Files ] [ Delete ]

i have recently removed pretty url mod

ekfaysal

Hey
another thing i have just noticed

When i go to forum maintanance-Routine:

Find and repair any errors.

Then it shows this messg
QuoteThe following errors are fouling up your forum:
Message #31380 is in non-existent topic #0.
Topic #6279 contains no (actual) messages.
The subject of topic #6279 is currently not stored in the subject cache.

Would you like to fix these errors?
Yes - No
when i click yes it says
QuoteDuplicate entry '31380-41' for key 2
File: /home/dreamsma/public_html/Sources/RepairBoards.php(317) : runtime-created function
Line: 19

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 Beta 3.1 Public, while your database is at version 2.0 Beta 3 Public. The above error might possibly go away if you execute the latest version of upgrade.php.


any help


Rumbaar

Quote from: Rumbaar on September 04, 2008, 01:53:21 AMYeah that file doesn't normally have that many lines either.  Please attach yours.
You haven't attached the file, do this via the attachment feature.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

Sorry i forgot that time
im facing lots of errors these days

Rumbaar

Well looks like you've installed mods that haven't been written for SMF 2.0, as it's using $txt[] strings from 1.1.x

Change $txt[302] to $txt['newmessages3'], but I'm sure you'll have a lot more if you've installed mods that aren't written for 2.x
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

some days back i did by mistake
i dont remember which one

Rumbaar

Well if you can't remember, this is little hope we'll know :)

You'll have to try and remember, then remove / alter the code it's put into your forum.  I'm sure this is the source or one of the sources of all your errors. You have to be very mindful when much such changes.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

i m fed up with the errors now
it shows my langauge files are not updated..

i think there is only one solution i must go for

Backup my database, attachments, smileys, avatars etc,,,
then i hav to remove all my forum,, then i will install new fresh one,, then upload database again,, then restore everything

u suggest is this tha last option for me?

Rumbaar

Well if it's unmanageable to troubleshoot and identify the incorrect code added by using mods not compatible with your version of SMF, then I would say yes.

Just be very mindful in the future to only install mods compatible with your SMF version, though I don't understand how you were able too.  As the mod should have indicated errors and/or not even proceeded with the installation due to conflict of versions.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

Hey
i have done what you said
replaced $txt[302] to $txt['newmessages3'],

now please tell me installing new forum and then importing my database via phpmyadmin can solve my this problm or not

QuoteDuplicate entry '31380-41' for key 2
File: /home/dreamsma/public_html/Sources/RepairBoards.php(317) : runtime-created function
Line: 19

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 Beta 3.1 Public, while your database is at version 2.0 Beta 3 Public. The above error might possibly go away if you execute the latest version of upgrade.php.

Rumbaar

Well if you have a db issue, then moving it to a new forum might result in your moving that error to the new forum.  Thus not fixing the error.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal


Rumbaar

Well it seems to tie in with your previous maintenance and issue with message (Message #31380 is in non-existent topic #0. )

Try to search your message table for the duplicate entries and remove the incorrect/duplicate one.  Be sure to backup first.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

ekfaysal

sorry i dont know
can u please tell me in detail

Rumbaar

Go into your phpMyAdmin, select the messages table and search for instances of that ID number.  But what is the best course of action once you've found them, I'm not too sure.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: