End of Support for Joomla 3 - Forum closed			
        
	
	Rokspoket not working when switching to PHP 5.6
Rokspoket not working when switching to PHP 5.6 was created by retaildco
Posted 8 years 3 days ago #18714
		
		Hi,
I had a notification that I needed to updated my PHP to at least 5.6 as it won't receive security updates from Joomla otherwise..
The problem is it means I get a blank website and when I checked with host they said it was an error regarding rokspoket... Has anyone come across this and what to do? My website it mainly based on using the mosaic and grids from rokspoket... Thanks
	
	I had a notification that I needed to updated my PHP to at least 5.6 as it won't receive security updates from Joomla otherwise..
The problem is it means I get a blank website and when I checked with host they said it was an error regarding rokspoket... Has anyone come across this and what to do? My website it mainly based on using the mosaic and grids from rokspoket... Thanks
			
			by retaildco
			
		
			Please Log in or Create an account to join the conversation.
- joomlaplates
 - 
				
				
									
						
	Offline
					
				
											 - Moderator
 - 
				
			 - Posts: 8859
 - Thank you received: 1740
 
Replied by joomlaplates on topic Rokspoket not working when switching to PHP 5.6
Posted 8 years 3 days ago #18719
		
		Hi there,
which PHP version is running right now? 7 oder 7.1
1.) Install the newest version of roksprcocket or update the component from Joomla update page
2.) Enable the error reporting to maximum to show the error instead of a white site
    
	
			which PHP version is running right now? 7 oder 7.1
1.) Install the newest version of roksprcocket or update the component from Joomla update page
2.) Enable the error reporting to maximum to show the error instead of a white site
Attachment Screenshot_5-2-3-4-5-6-7.jpg not found
Dokumentation:
www.joomlaplates.de/dokumentation.html
		www.joomlaplates.de/dokumentation.html
							Last Edit:8 years 3 days ago			
			by joomlaplates
			
		
			Attachments:
		Last edit: 8 years 3 days ago  by joomlaplates.			
				Please Log in or Create an account to join the conversation.
Replied by retaildco on topic Rokspoket not working when switching to PHP 5.6
Posted 7 years 11 months ago #18777
		
		I was on 5.3, but changed it to 5.6 as it requested. I have done what you mentioned below and the error message is as follows;
Fatal error: Call to undefined function mb_split() in ***** /components/com_roksprocket/lib/RokSprocket/Util/HTMLManipulator.php on line 36
The roksprocket is up to date.
If I change the php to 7 then I get the 'unhappy face error' Error: 0
Call to undefined function mb_split()
Any suggestions on what I can do?
	
	Fatal error: Call to undefined function mb_split() in ***** /components/com_roksprocket/lib/RokSprocket/Util/HTMLManipulator.php on line 36
The roksprocket is up to date.
If I change the php to 7 then I get the 'unhappy face error' Error: 0
Call to undefined function mb_split()
Any suggestions on what I can do?
			
			by retaildco
			
		
			Please Log in or Create an account to join the conversation.
- joomlaplates
 - 
				
				
									
						
	Offline
					
				
											 - Moderator
 - 
				
			 - Posts: 8859
 - Thank you received: 1740
 
Replied by joomlaplates on topic Rokspoket not working when switching to PHP 5.6
Posted 7 years 11 months ago #18778
		
		Some provider are using PHP preg_split instead of mb_split
Edit the php file >
/components/com_roksprocket/lib/RokSprocket/Util/HTMLManipulator.php on line 36
Line 36 and change from
			Edit the php file >
/components/com_roksprocket/lib/RokSprocket/Util/HTMLManipulator.php on line 36
Line 36 and change from
to$tokens = mb_split("\s+", $content);
$tokens = preg_split("/\s+/", $content);
Dokumentation:
www.joomlaplates.de/dokumentation.html
		www.joomlaplates.de/dokumentation.html
			
			by joomlaplates
			
		
			Please Log in or Create an account to join the conversation.
Replied by retaildco on topic Rokspoket not working when switching to PHP 5.6
Posted 7 years 11 months ago #18826
		
		Thanks so much that worked 
	
	
	
			
			by retaildco
			
		
			Please Log in or Create an account to join the conversation.
		Moderators: joomlaplates