• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: ereg_replace functie
PostPosted: Sun Jan 08, 2012 3:19 pm 
Offline
New Member

Joined: Sun Jan 08, 2012 3:09 pm
Posts: 1
Hallo mensen,


Is er een alternatief voor de ereg_replace function?

Onze hostingpartij die heeft een update gedaan naar PHP versie 5.4.2 waarin ereg_replace niet meer ondersteund wordt.

Het resultaat is dat alle content op de website staat alleen zonder opmaak.

De foutmelding die de website geeft:

Deprecated: Function ereg_replace() is deprecated in /vhosts/computerreparatie.eu/httpdocs/plugins/function.stylesheet.php on line 104


Alvast bedankt!

Roeland


Top
 Profile  
 
 Post subject: Re: ereg_replace functie
PostPosted: Sun Jan 08, 2012 10:03 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3646
Location: The Netherlands
Op regel 35 van de file plugins/function.title.php in CMSms versie 1.10 zie ik geen ereg_replace functie staan.

Ik denk dat je CMSms beter kunt upgraden naar de laatste versie ;)

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: ereg_replace functie
PostPosted: Wed Apr 04, 2012 8:30 am 
Offline
New Member

Joined: Wed Apr 04, 2012 8:25 am
Posts: 1
Hallo Jos,

Ik heb zojuist een upgrade naar de allernieuwste versie uitgevoerd, maar krijg daarbij dezelfde melding. De layout van het Admin paneel is wel goed. Het lijkt erop dat er wat oude bestanden blijven staan, hoewel de upgrade zelf vlekkeloos verliep. Heb je nog meer tips?

Met vriendelijke groet,

Tymen


Top
 Profile  
 
 Post subject: Re: ereg_replace functie
PostPosted: Wed Apr 04, 2012 2:24 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3646
Location: The Netherlands
het lijkt erop dat de eerste post is aangepast? Anders slaat mijn eerste antwoord werkelijk als een tang op een varken :-X

Tymen, gaat jouw foutmelding over stylesheet?

Gebruik dan in je template {cms_stylesheet} in plaats van de {stylesheet} tag

In de css stylesheet zelf moet je het pad van afbeeldingen wel even aanpassen. Elk pad moet even [[root_url]] voor gezet worden, zoals bijvoorbeeld:
Code:
background: url([[root_url]]/uploads/NCleanBlue/logo.png) no-repeat left top;

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: ereg_replace functie
PostPosted: Sat Apr 07, 2012 12:42 pm 
Offline
Power Poster
Power Poster

Joined: Fri Oct 20, 2006 12:07 pm
Posts: 417
Gebruik je Advanced Content?
Zorg in dat geval dat je de meest recentste hebt, want daarmee had ik een vergelijkbaar probleem ook opgelost.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Rolf


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting