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.


mail not send

Login / Search

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

Well-settled

no recommadation or verification mail

Wen a user join the site there is no mail send out to them, also I have try to send out a recommend mail and became this error:
I use version 3.2.4.

PHP WARNING [2] file_get_contents(/home/fycgron/domains/fyc-gron.nl/public_h
tml/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.
png) [<a href='function.file-get-contents'>function.file-get-contents
</a>]: failed to open stream: No such file or directory (ocPortal version: 3.2.4, PHP version: 4.4.4, URL: /index.php?page=recommend&type=actual)

stack trace:

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/global2.php'
Line    '728'
Function    'get_html_trace'
Args    

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/global2.php'
Line    '453'
Function    'clean_exit'
Args    
'PHP WARNING [2] file_get_contents(/home/fycgron/domains/fyc-gron.nl/public_h
tml/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.
png) [<a href=\'function.file-get-contents\'>function.file-get-conten
ts</a>]: failed to open stream: No such file or directory'

Function    'ocportal_error_handler'
Args    
2

'file_get_contents(/home/fycgron/domains/fyc-gron.nl/public_
html/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0
.png) [<a href=\'function.file-get-contents\'>function.file-get-conten
ts</a>]: failed to open stream: No such file or directory'

'/home/fycgron/domains/fyc-gron.nl/public_html/sources/mail.
php'

208

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/mail.php'
Line    '208'
Function    'file_get_contents'
Args    
'/home/fycgron/domains/fyc-gron.nl/public_html/themes/Founda
tion_Youth_Care/images_custom/46f27cc2dcbc0.png'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/recommend.php'
Line    '29'
Function    'mail_wrap'
Args    
'recommendation to visit'

'admin has recommended that you visit Foundation Youth Care. The following link will take you there: Foundation Youth Care - Vrijwillige jeugdhulp This e-mail was generated by the recommendation system of Foundation Youth Care. admin\'s personal message follows: eens kijken of deze wel aankomt.'

array

'harry-s@home.nl'

''

'admin'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
pages/modules/recommend.php'
Line    '157'
Function    'send_recommendation_email'
Args    
'admin'

'harry-s@home.nl'

'eens kijken of deze wel aankomt.'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
pages/modules/recommend.php'
Line    '60'
Function    'actual'
Class    'module_recommend'
Type    '->'
Args    

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/zones.php'
Line    '324'
Function    'run'
Class    'module_recommend'
Type    '->'
Args    

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/site.php'
Line    '643'
Function    'load_module_page'
Args    
'/pages/modules/recommend.php'

'recommend'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
sources/site.php'
Line    '514'
Function    'request_page'
Args    
'recommend'

true

File    '/home/fycgron/domains/fyc-gron.nl/public_html/
index.php'
Line    '104'
Function    'do_site
Back to the top
 
Posted
Rating:
#35455
Avatar

Hi,

Somehow your /home/fycgron/domains/fyc-gron.nl/public_h
tml/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.
png
file has gone missing from your server.

Hopefully you have a backup, but if not…

From this error I can't tell what is referencing this image, but you can find the theme image code by putting this SQL query into phpMyAdmin:

Code

SELECT id FROM `ocp2_theme_images` WHERE path='themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.
png'
(Log in, select your database, click the 'SQL' tab, paste this, click 'Go')

Once you know the theme image code you can use the ocPortal theme image editor (Admin Zone, Style section, Themes icon – then edit the images on the Foundation_Youth_Care theme). Edit the theme image you found, and replace it with something. (A quick half-measure would be to edit it back to point to the default themes path for the same image code)


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: